aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/constants.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-09-04 10:00:27 +0100
committerGravatar GitHub <[email protected]>2021-09-04 10:00:27 +0100
commitf5efff5c4d0414f609430b958c9b46c51253f052 (patch)
tree49895c3c85a2c8cec2d033b51bd0028c548a4e22 /pydis_site/constants.py
parentExplicitly set gunicorn config argument (diff)
parentMerge pull request #579 from python-discord/jb3/update-k8s-path (diff)
Merge branch 'main' into jb3/django-prometheus
Diffstat (limited to 'pydis_site/constants.py')
-rw-r--r--pydis_site/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pydis_site/constants.py b/pydis_site/constants.py
index e6a63d12..e913f40f 100644
--- a/pydis_site/constants.py
+++ b/pydis_site/constants.py
@@ -2,3 +2,5 @@ import os
GIT_SHA = os.environ.get("GIT_SHA", "development")
GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN")
+# How long to wait for synchronous requests before timing out
+TIMEOUT_PERIOD = int(os.environ.get("TIMEOUT_PERIOD", 5))