diff options
| author | Dennis Fink | 2026-11-15 20:42:20 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-15 20:42:20 +0100 |
| commit | 509d93b2976e353d29441a7a7b7e78ca466dc4fd (patch) | |
| tree | 753e637aefabd4293f808addbf9c310eaf0aa552 /webmentions_ssg/tasks/consumer.py | |
| parent | c74feda222745ab7cca8993df83d9ea5f9d07e5b (diff) | |
| download | webmentions-ssg-509d93b2976e353d29441a7a7b7e78ca466dc4fd.tar.gz webmentions-ssg-509d93b2976e353d29441a7a7b7e78ca466dc4fd.zip | |
refactor(core)!: standardize application terminology
Rename configuration keys, task helpers, forms, network utilities, and
view endpoints to make their responsibilities and domains more explicit.
Align source-management routes and templates with the new terminology
and rename the target-matching module and related task abstractions
consistently.
BREAKING CHANGE: configuration keys have been renamed and sent-source
routes move from `/sent` to `/sources`, with corresponding blueprint
endpoint changes.
Diffstat (limited to '')
| -rw-r--r-- | webmentions_ssg/tasks/consumer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webmentions_ssg/tasks/consumer.py b/webmentions_ssg/tasks/consumer.py index 13334bc..c24a883 100644 --- a/webmentions_ssg/tasks/consumer.py +++ b/webmentions_ssg/tasks/consumer.py @@ -22,9 +22,9 @@ def create_consumer() -> Huey: app = create_app() for config_key, task in ( - ("SCANNER_SCHEDULE", scanner.scan_sources), - ("VERIFICATION_REAPER_SCHEDULE", receiver.recover_stale_webmentions), - ("NOTIFICATION_SCHEDULE", notifications.send_webmention_digest), + ("SOURCE_SCAN_SCHEDULE", scanner.scan_sources), + ("VERIFICATION_RECOVERY_SCHEDULE", receiver.recover_stale_verifications), + ("DIGEST_SCHEDULE", notifications.send_webmention_digest), ("RECEIVED_RETENTION_SCHEDULE", retention.purge_old_received_webmentions), ): schedule = crontab(*app.config[config_key].split(), strict=True) |
