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'
pull/396/head
Michael Gaffney 6 years ago committed by GitHub
parent 27d728875c
commit d52fb81e68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save