#282: set flag idle logic to cli-run phase
This commit is contained in:
@@ -197,7 +197,7 @@ func Run() {
|
||||
}
|
||||
|
||||
// Start session cleanup worker
|
||||
if options.Sessions {
|
||||
if options.Sessions && !command.Opts.ConnectionIdleTimeoutDisabled {
|
||||
go api.StartSessionCleanup()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user