Selwin Ong
Selwin Ong
This issue will be fixed by https://github.com/rq/rq/pull/1872
Agreed that this maybe nice. Would a `exception_formatter` argument to `work()` be enough?
Can you add tests?
Yes, I think job retries is a nice feature to have. will gladly merge in a PR for this if we can come up with an elegant API and implementation.
@Chronial sorry for the late response. We can add a few options to `Queue`'s init method: ```python queue = Queue(max_retries=3, requeue=Requeue.AT_FRONT) # The retry behavior can also be overridden by...
@Chronial if we were to implement this feature, I think it makes sense for us to implement it in such a way that RQ can automatically requeue jobs that don't...
Mind opening a PR for this?
The reason why `birth_date` disappears is probably due to the Redis key expiring before the next heartbeat arrives. When the next heartbeat arrives, it does not refresh the `birth_date` field....
Actually, heartbeats were added in this PR: https://github.com/rq/rq/pull/1851/files It's already in the master branch, but not yet released. Updating your deployment to the master branch may fix your issue.
On the surface this looks like a good idea, but I think the implementation may be a bit tedious. We'll need to keep `Batch` objects on Redis that stores a...