Skip to content

Commit

Permalink
[justice] opt-in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kokes committed Dec 19, 2023
1 parent 0aee1dc commit b820995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/justice/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
NON_ISO_DATUM = re.compile(r"^(\d{1,2})[\.\-](\d{1,2})[\.\-](\d{4})$")
HTTP_TIMEOUT = 60
CACHE_DIR = "cache"
CACHE_ENABLED = False
CACHE_ENABLED = bool(int(os.environ.get("CACHE_ENABLED", "0")))


def gen_schema(element, parent=None):
Expand Down

0 comments on commit b820995

Please sign in to comment.