aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-09-15 23:49:56 +0200
committerGravatar Leon Sandøy <[email protected]>2019-09-15 23:49:56 +0200
commita02e8b7610589838e69190c94f2821bda2f73cba (patch)
tree0f8c7bfa4c8ae5826b4f006f7c11f359c0cd8770 /docker-compose.yml
parentPARENT_HOST is now pythondiscord.com (diff)
Fix a bug where GitHub API rate limit could crash Home.
The bug was caused by a naive approach to caching and retrieving the data. This commit rectifies this by making the following changes: - We will now cache for 1 hour instead of 10 minutes - If the data is stale but API is rate limited, return cache, not crash. - If the cache doesn't exist and API is rate limited, return dummy data, and try again in 10 minutes. This will prevent all crashes, and should still have more or less the same user experience.
Diffstat (limited to 'docker-compose.yml')
0 files changed, 0 insertions, 0 deletions