ossobv / planb

PlanB - automating remote backups and snapshots with zfs/rsync
GNU General Public License v3.0
28 stars 3 forks source link

Re-schedule tasks when restarting queue #40

Closed wdoekes closed 3 years ago

wdoekes commented 4 years ago

When restarting the PlanB (celery) Queue, all tasks are dropped:

Sep 14 10:35:19 osso-backup-dr systemd[1]: planb-queue.service: Succeeded.
Sep 14 10:35:19 osso-backup-dr systemd[1]: Stopped PlanB Queue server.
Sep 14 10:35:19 osso-backup-dr systemd[1]: Starting PlanB Queue server...
Sep 14 10:35:20 osso-backup-dr planb[933328]: Dropped 2 jobs from DB queue
Sep 14 10:35:20 osso-backup-dr systemd[1]: Started PlanB Queue server.

Expected/wanted behaviour:

wdoekes commented 3 years ago

Whatever.