tobymao / saq

Simple Async Queues
https://saq-py.readthedocs.io/en/latest/
MIT License
585 stars 41 forks source link

Fix: Do not expire jobs when aborting #153

Closed vchan closed 2 months ago

vchan commented 2 months ago

Jobs should not have an expiration while it is aborting. Redis has a TTL on abort_id, but Postgres doesn't use abort_id. Postgres won't re-enqueue an aborting job by checking the job's status.