Add possibility to disable server side cursors
This commit is contained in:
parent
676ca798cd
commit
dd41d09b43
@ -48,6 +48,8 @@ DATABASE = {
|
|||||||
# Database connection SSLMODE
|
# Database connection SSLMODE
|
||||||
'CONN_MAX_AGE': int(environ.get('DB_CONN_MAX_AGE', '300')),
|
'CONN_MAX_AGE': int(environ.get('DB_CONN_MAX_AGE', '300')),
|
||||||
# Max database connection age
|
# 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
|
# 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