aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/constants.py
diff options
context:
space:
mode:
authorGravatar swfarnsworth <[email protected]>2021-09-05 07:43:44 -0400
committerGravatar swfarnsworth <[email protected]>2021-09-05 07:43:44 -0400
commit12c09e08ca50a271372adeaf0cb21d6c4ca9ccea (patch)
tree1ac76fddbc476001133aac2f55e414269de47744 /pydis_site/constants.py
parentAdd `tutorial` and `video` tags for RealPython. (diff)
parentMerge pull request #581 from python-discord/Pin-platform-in-Dockerfile (diff)
Merge with main, resolve conflicts.
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))