gresrun / jesque

An implementation of Resque in Java.
http://gresrun.github.io/jesque
Apache License 2.0
628 stars 131 forks source link

allow to set a max number of failed items to keep via FailQueueStrategy #131

Closed bp-FLN closed 6 years ago

bp-FLN commented 6 years ago

By default there is no upper limit for the amount of items to keep in a failed queue. If there are many failing jobs with huge stacktraces, the redis instance may go OOM.

We're currently doing this in our own execute implementation, would be nice to have this upstream so others could use this as well.

gresrun commented 6 years ago

Thanks for the contribution, Florian!