summaryrefslogtreecommitdiff
path: root/animism-align/cli/app/settings
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-10 13:44:13 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-10 13:44:13 +0100
commit0e849395aab06b3c05b609740ebc94cf3a5cd258 (patch)
tree2efeee477043d7d3180047932231aef13dff1b9a /animism-align/cli/app/settings
parent554695be3d2c0ed122fa83b6b0ac76e338116268 (diff)
navigating around, fix api filtering, add episode stats
Diffstat (limited to 'animism-align/cli/app/settings')
-rw-r--r--animism-align/cli/app/settings/app_cfg.py9
1 files changed, 8 insertions, 1 deletions
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
@@ -76,6 +76,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