Skip to content

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

Merged
gresrun merged 1 commit into
gresrun:masterfrom
uberall:FailQueueMaxItems
Dec 30, 2017
Merged

allow to set a max number of failed items to keep via FailQueueStrategy#131
gresrun merged 1 commit into
gresrun:masterfrom
uberall:FailQueueMaxItems

Conversation

@bp-FLN

@bp-FLN bp-FLN commented Dec 27, 2017

Copy link
Copy Markdown
Contributor

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

gresrun commented Dec 30, 2017

Copy link
Copy Markdown
Owner

Thanks for the contribution, Florian!

@gresrun
gresrun merged commit 6e289b6 into gresrun:master Dec 30, 2017
@bp-FLN
bp-FLN deleted the FailQueueMaxItems branch December 31, 2017 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants