mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 13:27:45 +00:00
fix(sql): set max life / idle time to 30 min (#2306)
This commit is contained in:
parent
69b1b9bcdb
commit
ec6e1ed467
@ -32,8 +32,8 @@ EventstoreBase:
|
||||
Port: $ZITADEL_EVENTSTORE_PORT
|
||||
Database: 'eventstore'
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -45,8 +45,8 @@ Commands:
|
||||
User: 'eventstore'
|
||||
Password: $CR_EVENTSTORE_PASSWORD
|
||||
MaxOpenConns: 5
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -58,8 +58,8 @@ Queries:
|
||||
User: 'queries'
|
||||
Password: $CR_QUERIES_PASSWORD
|
||||
MaxOpenConns: 2
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -79,8 +79,8 @@ Projections:
|
||||
Schema: 'projections'
|
||||
Password: $CR_QUERIES_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -102,8 +102,8 @@ AuthZ:
|
||||
Database: 'eventstore'
|
||||
Password: $CR_AUTHZ_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -120,8 +120,8 @@ AuthZ:
|
||||
Database: 'authz'
|
||||
Password: $CR_AUTHZ_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -146,8 +146,8 @@ Auth:
|
||||
Database: 'eventstore'
|
||||
Password: $CR_AUTH_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -165,8 +165,8 @@ Auth:
|
||||
Database: 'auth'
|
||||
Password: $CR_AUTH_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -179,8 +179,8 @@ Auth:
|
||||
Database: 'auth'
|
||||
Password: $CR_AUTH_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -205,8 +205,8 @@ Admin:
|
||||
Database: 'eventstore'
|
||||
Password: $CR_ADMINAPI_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -223,8 +223,8 @@ Admin:
|
||||
Database: 'adminapi'
|
||||
Password: $CR_ADMINAPI_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -249,8 +249,8 @@ Mgmt:
|
||||
Database: 'eventstore'
|
||||
Password: $CR_MANAGEMENT_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -267,8 +267,8 @@ Mgmt:
|
||||
Database: 'management'
|
||||
Password: $CR_MANAGEMENT_PASSWORD
|
||||
MaxOpenConns: 3
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -379,8 +379,8 @@ Notification:
|
||||
Database: 'eventstore'
|
||||
Password: $CR_NOTIFICATION_PASSWORD
|
||||
MaxOpenConns: 2
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
@ -397,8 +397,8 @@ Notification:
|
||||
Database: 'notification'
|
||||
Password: $CR_NOTIFICATION_PASSWORD
|
||||
MaxOpenConns: 2
|
||||
MaxConnLifetime: 5m
|
||||
MaxConnIdleTime: 5m
|
||||
MaxConnLifetime: 30m
|
||||
MaxConnIdleTime: 30m
|
||||
SSL:
|
||||
Mode: $CR_SSL_MODE
|
||||
RootCert: $CR_ROOT_CERT
|
||||
|
Loading…
x
Reference in New Issue
Block a user