mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Bugfix
This commit is contained in:
parent
55a1c2dd88
commit
643ba9e775
2 changed files with 1 additions and 7 deletions
6
app.py
6
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_2", schedule="@every 12h")
|
||||||
p.push({}, "/task/cleanup_part_3", 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()
|
back = activitypub.MicroblogPubBackend()
|
||||||
ap.use_backend(back)
|
ap.use_backend(back)
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ class PousseTaches:
|
||||||
task_id=t["id"],
|
task_id=t["id"],
|
||||||
payload=t["payload"],
|
payload=t["payload"],
|
||||||
expected=t["expected"],
|
expected=t["expected"],
|
||||||
shedule=t["schedule"],
|
schedule=t["schedule"],
|
||||||
tries=t["tries"],
|
tries=t["tries"],
|
||||||
url=t["url"],
|
url=t["url"],
|
||||||
last_error_status_code=t["last_error_status_code"],
|
last_error_status_code=t["last_error_status_code"],
|
||||||
|
|
Loading…
Reference in a new issue