aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/constants.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2021-10-06 23:20:56 +0200
committerGravatar Johannes Christ <[email protected]>2021-10-06 23:22:45 +0200
commitce75197fc1d0b2086631277d29f9396908bdc86c (patch)
tree2eab9855ab1a83352a5d83050d8a1fc0524f3285 /pydis_site/constants.py
parentMerge branch 'main' into subdomains-to-query-paths (diff)
parentMerge pull request #599 from python-discord/fix-http-links (diff)
Merge branch 'master' into subdomains-to-query-paths
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))