mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-30 03:43:22 +01:00
Merge pull request #537 from insidieux/disable-server-side-cursors-option
Disable server side cursors option
This commit is contained in:
commit
c13bec47b8
@ -48,6 +48,8 @@ DATABASE = {
|
||||
# Database connection SSLMODE
|
||||
'CONN_MAX_AGE': int(environ.get('DB_CONN_MAX_AGE', '300')),
|
||||
# Max database connection age
|
||||
'DISABLE_SERVER_SIDE_CURSORS': environ.get('DB_DISABLE_SERVER_SIDE_CURSORS', 'False').lower() == 'true',
|
||||
# Disable the use of server-side cursors transaction pooling
|
||||
}
|
||||
|
||||
# Redis database settings. Redis is used for caching and for queuing background tasks such as webhook events. A separate
|
||||
|
Loading…
Reference in New Issue
Block a user