Merge pull request #537 from insidieux/disable-server-side-cursors-option

Disable server side cursors option
This commit is contained in:
Tobias Genannt 2021-07-07 09:51:05 +02:00 committed by GitHub
commit c13bec47b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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