diff --git a/.gitignore b/.gitignore index 640143cc..a494abab 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,4 @@ nebula-httpd # Dependency directories (remove the comment below to include it) # vendor/ -tmp/ +tmp/* diff --git a/main.go b/main.go index 1dcb0bb5..636b969d 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,8 @@ import ( ) func main() { - beego.BConfig.WebConfig.Session.SessionCookieLifeTime = 3600 + beego.BConfig.WebConfig.Session.SessionCookieLifeTime = 0 + beego.BConfig.WebConfig.Session.SessionGCMaxLifetime = 60 * 60 * 24 beego.BConfig.WebConfig.Session.SessionName = "nsid" beego.BConfig.WebConfig.Session.SessionOn = true beego.Run() diff --git a/tmp/runner-build b/tmp/runner-build index 4fda1b4d..8d11e857 100755 Binary files a/tmp/runner-build and b/tmp/runner-build differ