Automatically close idle sessions

This commit is contained in:
Dan Sosedoff
2017-09-22 22:44:32 -05:00
parent 85e38c390c
commit 62d88121cd
3 changed files with 54 additions and 0 deletions

View File

@@ -196,6 +196,11 @@ func Run() {
util.StartProfiler()
}
// Start session cleanup worker
if options.Sessions {
go api.StartSessionCleanup()
}
startServer()
openPage()
handleSignals()