diff options
author | 2021-11-05 10:09:35 +0530 | |
---|---|---|
committer | 2021-11-05 10:09:35 +0530 | |
commit | 747a7b9cb465c85a064ac6e1a0444bcf8a81ec65 (patch) | |
tree | 1bb529b764bed5c727a3956b7bb432a18ec82d43 /pydis_site/constants.py | |
parent | Merge branch 'main' into otn_softdel (diff) | |
parent | Merge pull request #617 from python-discord/mbaruh-patch-1 (diff) |
Pull from upstream/main and resolve conflicts.
Diffstat (limited to 'pydis_site/constants.py')
-rw-r--r-- | pydis_site/constants.py | 2 |
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)) |