Remove connection idle timeout seconds for now (#379)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-09-19 14:01:49 -04:00
1 parent e002326293
commit 5bf555cca2
27 files changed
+296 -480

No files matched your search

@@ -105,9 +105,6 @@ create table target_tcp (
-- limit on number of session connections allowed. default of 0 equals no limit
session_connection_limit int not null default 1
check(session_connection_limit >= 0),
-- connection idle timout in seconds. default of 0 equals no limit
connection_idle_timeout_seconds int not null default 0
check(connection_idle_timeout_seconds >= 0),
create_time wt_timestamp,
update_time wt_timestamp,
version wt_version,
@@ -164,7 +161,6 @@ select
default_port,
session_max_seconds,
session_connection_limit,
connection_idle_timeout_seconds,
version,
create_time,
update_time,
@@ -134,9 +134,6 @@ begin;
-- limit on number of session connections allowed. default of 0 equals no limit
connection_limit int not null default 1
check(connection_limit >= 0),
-- connection idle timout in seconds. default of 0 equals no limit
connection_idle_timeout_seconds int not null default 0
check(connection_idle_timeout_seconds >= 0),
-- trust of first use token
tofu_token bytea, -- will be null when session is first created
-- the reason this session ended (null until terminated)
@@ -159,7 +156,7 @@ begin;
immutable_columns
before
update on session
for each row execute procedure immutable_columns('public_id', 'certificate', 'expiration_time', 'connection_limit', 'create_time', 'endpoint', 'connection_idle_timeout_seconds');
for each row execute procedure immutable_columns('public_id', 'certificate', 'expiration_time', 'connection_limit', 'create_time', 'endpoint');
create trigger
update_version_column