Skip to content
Snippets Groups Projects
Commit e3e725ad authored by David Coutadeur's avatar David Coutadeur
Browse files

set timeout and keepalive params for pg connection (#84)

parent d77bbef0
Branches master
No related tags found
No related merge requests found
Pipeline #35309 failed
......@@ -6,42 +6,42 @@ oidcStorage: 'Apache::Session::Browseable::PgJSON'
notificationStorage: 'DBI'
globalStorageOptions:
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }};tcp_user_timeout=1000;keepalives_idle=600;keepalives_interval=60;keepalives_count=5'
TableName: 'sessions'
UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}'
Commit: 1
persistentStorageOptions:
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }};tcp_user_timeout=1000;keepalives_idle=600;keepalives_interval=60;keepalives_count=5'
TableName: 'psessions'
UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}'
Commit: 1
samlStorageOptions:
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }};tcp_user_timeout=1000;keepalives_idle=600;keepalives_interval=60;keepalives_count=5'
TableName: 'samlsessions'
UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}'
Commit: 1
oidcStorageOptions:
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }};tcp_user_timeout=1000;keepalives_idle=600;keepalives_interval=60;keepalives_count=5'
TableName: 'oidcsessions'
UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}'
Commit: 1
casStorageOptions:
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
DataSource: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }};tcp_user_timeout=1000;keepalives_idle=600;keepalives_interval=60;keepalives_count=5'
TableName: 'cassessions'
UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}'
Commit: 1
notificationStorageOptions:
dbiChain: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}'
dbiChain: 'DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }};tcp_user_timeout=1000;keepalives_idle=600;keepalives_interval=60;keepalives_count=5'
dbiTable: 'notifications'
dbiUser: '{{ lemonldap2_pguser }}'
dbiPassword: '{{ lemonldap2_pgpassword }}'
......
......@@ -153,7 +153,7 @@ checkTime = 1
; ldapAttributeContent = description
type = CDBI
dbiChain = DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }}
dbiChain = DBI:Pg:database={{ lemonldap2_pgdb }};host={{ lemonldap2_pghost }};port={{ lemonldap2_pgport }};tcp_user_timeout=1000;keepalives_idle=600;keepalives_interval=60;keepalives_count=5
dbiUser = {{ lemonldap2_pguser }}
dbiPassword = {{ lemonldap2_pgpassword }}
; optional
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment