From ce802830c37565d325ba2ecc060443550abb1955 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 25 Oct 2026 22:26:40 +0100 Subject: refactor(core): simplify configuration keys Remove the WEBMENTIONS_SSG prefix from application-specific configuration settings and update validators, tasks, and tests to use the shorter names. --- webmentions_ssg/tasks/consumer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'webmentions_ssg/tasks/consumer.py') diff --git a/webmentions_ssg/tasks/consumer.py b/webmentions_ssg/tasks/consumer.py index d71f2fa..3ba2638 100644 --- a/webmentions_ssg/tasks/consumer.py +++ b/webmentions_ssg/tasks/consumer.py @@ -21,9 +21,7 @@ def create_consumer() -> Huey: from . import notifications, receiver, scanner, sender # noqa: F401 - schedule = crontab( - *app.config["WEBMENTIONS_SSG_SCANNER_SCHEDULE"].split(), strict=True - ) + schedule = crontab(*app.config["SCANNER_SCHEDULE"].split(), strict=True) HUEY.periodic_task(schedule)(scanner.scan_sources) return HUEY.huey -- cgit v1.3.1