diff --git a/app.py b/app.py index 9afd27a..906af26 100644 --- a/app.py +++ b/app.py @@ -96,12 +96,6 @@ p.push({}, "/task/cleanup_part_1", schedule="@every 12h") p.push({}, "/task/cleanup_part_2", schedule="@every 12h") p.push({}, "/task/cleanup_part_3", schedule="@every 12h") -# Also trigger a cleanup now -p.push({}, "/task/cleanup_part_1") -p.push({}, "/task/cleanup_part_2") -p.push({}, "/task/cleanup_part_3") - - back = activitypub.MicroblogPubBackend() ap.use_backend(back) diff --git a/poussetaches.py b/poussetaches.py index 6f06e14..2e61105 100644 --- a/poussetaches.py +++ b/poussetaches.py @@ -101,7 +101,7 @@ class PousseTaches: task_id=t["id"], payload=t["payload"], expected=t["expected"], - shedule=t["schedule"], + schedule=t["schedule"], tries=t["tries"], url=t["url"], last_error_status_code=t["last_error_status_code"],