tobymao / saq

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

Fix: Do not expire jobs when aborting #153

Closed vchan closed 1 week ago

vchan commented 1 week 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.