diff options
author | Andrew Godwin | 2022-11-22 17:06:32 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-22 11:59:34 -0700 |
commit | 05ed5989e3436108f9a7bd443b0f79b7ee407f26 (patch) | |
tree | 0c59502ae81a45e13f0c1bf1f3f50a09fb43b162 /takahe/settings/production.py | |
parent | b7c7c66013557e093a838a84b9b0e7cbaf05e12a (diff) | |
download | takahe-05ed5989e3436108f9a7bd443b0f79b7ee407f26.tar.gz takahe-05ed5989e3436108f9a7bd443b0f79b7ee407f26.tar.bz2 takahe-05ed5989e3436108f9a7bd443b0f79b7ee407f26.zip |
Better way to initialise things on setup.
Diffstat (limited to 'takahe/settings/production.py')
-rw-r--r-- | takahe/settings/production.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/takahe/settings/production.py b/takahe/settings/production.py index b23093f..b1034ef 100644 --- a/takahe/settings/production.py +++ b/takahe/settings/production.py @@ -10,6 +10,8 @@ DEBUG = bool(os.environ.get("TAKAHE__SECURITY_HAZARD__DEBUG", False)) # TODO: Allow better setting of allowed_hosts, if we need to ALLOWED_HOSTS = ["*"] +CONN_MAX_AGE = 60 + ### User-configurable options, pulled from the environment ### # Secret key |