Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't save settings values at module load time
Previously, we'd "cache" the RATELIMIT_ENABLE and CACHE_PREFIX settings at module load time. That makes it harder to create tests that change these values. This fixes that by changing the code so we're not caching the settings values. Fixes #38
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters