aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index f03aa8aeae..717e81ada4 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -341,6 +341,7 @@ func newSessionService() {
log.Fatal("Init session system failed, provider: %s, %v",
SessionProvider, err)
}
+ go SessionManager.GC()
log.Info("Session Service Enabled")
}