From 0e849395aab06b3c05b609740ebc94cf3a5cd258 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 10 Mar 2021 13:44:13 +0100 Subject: navigating around, fix api filtering, add episode stats --- animism-align/cli/app/settings/app_cfg.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'animism-align/cli/app/settings/app_cfg.py') diff --git a/animism-align/cli/app/settings/app_cfg.py b/animism-align/cli/app/settings/app_cfg.py index ceb9e43..6d5f4c0 100644 --- a/animism-align/cli/app/settings/app_cfg.py +++ b/animism-align/cli/app/settings/app_cfg.py @@ -75,6 +75,13 @@ HASH_BRANCH_SIZE = 3 # for sha256 subdirs USE_SQLITE = os.getenv("USE_SQLITE") == "True" +# ----------------------------------------------------------------------------- +# APIs +# ----------------------------------------------------------------------------- + +DEFAULT_LIMIT = 50 +MAX_LIMIT = 1000 + # ----------------------------------------------------------------------------- # S3 storage # ----------------------------------------------------------------------------- @@ -85,7 +92,7 @@ except Exception as e: pass # ----------------------------------------------------------------------------- -# Le crypto +# Le crypto~ # ----------------------------------------------------------------------------- TOKEN_SECRET = os.getenv("TOKEN_SECRET") or None -- cgit v1.2.3-70-g09d2