Rename disable connection timeout cli option
This commit is contained in:
parent
7b6c5f74d4
commit
ec5a12b0f7
@ -197,7 +197,7 @@ func Run() {
|
||||
}
|
||||
|
||||
// Start session cleanup worker
|
||||
if options.Sessions && !command.Opts.ConnectionIdleTimeoutDisabled {
|
||||
if options.Sessions && !command.Opts.DisableConnectionIdleTimeout {
|
||||
go api.StartSessionCleanup()
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ type Options struct {
|
||||
ConnectBackend string `long:"connect-backend" description:"Enable database authentication through a third party backend"`
|
||||
ConnectToken string `long:"connect-token" description:"Authentication token for the third-party connect backend"`
|
||||
ConnectHeaders string `long:"connect-headers" description:"List of headers to pass to the connect backend"`
|
||||
ConnectionIdleTimeoutDisabled bool `long:"disable-connection-idle-timeout" description:"Disable connection idle timeout" default:"false"`
|
||||
DisableConnectionIdleTimeout bool `long:"no-idle-timeout" description:"Disable connection idle timeout" default:"false"`
|
||||
ConnectionIdleTimeout float64 `long:"idle-timeout" description:"Set connection idle timeout in minutes" default:"180"`
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user