Change the default max session for a target to 8 hours (#392)
* Change the default max session for a target to 8 hours * Run 'make migrations'
This commit is contained in:
1 parent
27d728875c
commit
d52fb81e68
2 files changed
+4
-2
No files matched your search
@@ -3153,7 +3153,8 @@ create table target_tcp (
|
||||
description text,
|
||||
default_port int, -- default_port can be null
|
||||
-- max duration of the session in seconds.
|
||||
session_max_seconds int not null default 0
|
||||
-- default is 8 hours
|
||||
session_max_seconds int not null default 28800
|
||||
check(session_max_seconds > 0),
|
||||
-- limit on number of session connections allowed. -1 equals no limit
|
||||
session_connection_limit int not null default 1
|
||||
|
||||
@@ -100,7 +100,8 @@ create table target_tcp (
|
||||
description text,
|
||||
default_port int, -- default_port can be null
|
||||
-- max duration of the session in seconds.
|
||||
session_max_seconds int not null default 0
|
||||
-- default is 8 hours
|
||||
session_max_seconds int not null default 28800
|
||||
check(session_max_seconds > 0),
|
||||
-- limit on number of session connections allowed. -1 equals no limit
|
||||
session_connection_limit int not null default 1
|
||||
|
||||
Reference in new issue
Block a user