aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'webmentions_ssg/config.py')
-rw-r--r--webmentions_ssg/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/webmentions_ssg/config.py b/webmentions_ssg/config.py
index be54989..3d05e5d 100644
--- a/webmentions_ssg/config.py
+++ b/webmentions_ssg/config.py
@@ -91,6 +91,8 @@ class DefaultConfig:
RECEIVED_RETENTION_DAYS = 30
# Maximum rows that an admin can request per received Webmentions page.
RECEIVED_MAX_PAGE_SIZE = 100
+ # Maximum rows that an admin can request per source document page.
+ SOURCES_MAX_PAGE_SIZE = 100
RECEIVED_RETENTION_SCHEDULE = "0 3 * * *"
# Scanner
@@ -246,6 +248,7 @@ def validated_config_overrides(
"MAX_WEBMENTION_URL_BYTES",
"RECEIVED_RETENTION_DAYS",
"RECEIVED_MAX_PAGE_SIZE",
+ "SOURCES_MAX_PAGE_SIZE",
):
value = config[key]
if type(value) is not int or value <= 0: