mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-25 01:13:15 +01:00
Add possibility to disable server side cursors
This commit is contained in:
parent
676ca798cd
commit
dd41d09b43
@ -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