We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d71d2f + 773ec63 commit 3f2fe54Copy full SHA for 3f2fe54
configuration/configuration.py
@@ -37,6 +37,8 @@ def read_secret(secret_name):
37
# PostgreSQL password
38
'HOST': os.environ.get('DB_HOST', 'localhost'), # Database server
39
'PORT': os.environ.get('DB_PORT', ''), # Database port (leave blank for default)
40
+ 'CONN_MAX_AGE': int(os.environ.get('DB_CONN_MAX_AGE', '300')),
41
+ # Database connection persistence
42
}
43
44
# This key is used for secure generation of random numbers and strings. It must never be exposed outside of this file.
0 commit comments