aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/tasks/consumer.py
diff options
context:
space:
mode:
Diffstat (limited to 'webmentions_ssg/tasks/consumer.py')
-rw-r--r--webmentions_ssg/tasks/consumer.py4
1 files changed, 1 insertions, 3 deletions
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