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
No related branches found
No related tags found
No related merge requests found
Pipeline #35309 failed
...@@ -6,42 +6,42 @@ oidcStorage: 'Apache::Session::Browseable::PgJSON' ...@@ -6,42 +6,42 @@ oidcStorage: 'Apache::Session::Browseable::PgJSON'
notificationStorage: 'DBI' notificationStorage: 'DBI'
globalStorageOptions: 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' TableName: 'sessions'
UserName: '{{ lemonldap2_pguser }}' UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}' Password: '{{ lemonldap2_pgpassword }}'
Commit: 1 Commit: 1
persistentStorageOptions: 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' TableName: 'psessions'
UserName: '{{ lemonldap2_pguser }}' UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}' Password: '{{ lemonldap2_pgpassword }}'
Commit: 1 Commit: 1
samlStorageOptions: 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' TableName: 'samlsessions'
UserName: '{{ lemonldap2_pguser }}' UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}' Password: '{{ lemonldap2_pgpassword }}'
Commit: 1 Commit: 1
oidcStorageOptions: 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' TableName: 'oidcsessions'
UserName: '{{ lemonldap2_pguser }}' UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}' Password: '{{ lemonldap2_pgpassword }}'
Commit: 1 Commit: 1
casStorageOptions: 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' TableName: 'cassessions'
UserName: '{{ lemonldap2_pguser }}' UserName: '{{ lemonldap2_pguser }}'
Password: '{{ lemonldap2_pgpassword }}' Password: '{{ lemonldap2_pgpassword }}'
Commit: 1 Commit: 1
notificationStorageOptions: 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' dbiTable: 'notifications'
dbiUser: '{{ lemonldap2_pguser }}' dbiUser: '{{ lemonldap2_pguser }}'
dbiPassword: '{{ lemonldap2_pgpassword }}' dbiPassword: '{{ lemonldap2_pgpassword }}'
......
...@@ -153,7 +153,7 @@ checkTime = 1 ...@@ -153,7 +153,7 @@ checkTime = 1
; ldapAttributeContent = description ; ldapAttributeContent = description
type = CDBI 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 }} dbiUser = {{ lemonldap2_pguser }}
dbiPassword = {{ lemonldap2_pgpassword }} dbiPassword = {{ lemonldap2_pgpassword }}
; optional ; 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