Skip to content

Commit

Permalink
long time 4 hour
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndon.hu committed Mar 29, 2024
1 parent 173c9db commit 04346f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func getLoginUsername(c *gin.Context) string {
func apiStart(br *broker) {
cfg := br.cfg

httpSessions = cache.New(30*time.Minute, 5*time.Second)
httpSessions = cache.New(240*time.Minute, 5*time.Second)

gin.SetMode(gin.ReleaseMode)

Expand Down

0 comments on commit 04346f0

Please sign in to comment.