Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proper resizing of failed item queue #167

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

bp-FLN
Copy link
Contributor

@bp-FLN bp-FLN commented Apr 19, 2020

the number of items to keep in the failed queue can not be downsized. the problem is that we always only remove max. 1 item with the ltrim. the fix is to trim the list to exactly the size we want.
we also don't need to check the size of the failed queue before trimming, as we can simply ltrim all the time now.

@bp-FLN bp-FLN force-pushed the fail-queue-max-items-resize branch from f0fa560 to 48db99f Compare April 19, 2020 18:11
@coveralls
Copy link

coveralls commented Apr 19, 2020

Coverage Status

Coverage increased (+0.2%) to 71.024% when pulling 48db99f on uberall:fail-queue-max-items-resize into b55a7c8 on gresrun:master.

@gresrun gresrun merged commit 937b11c into gresrun:master Dec 30, 2021
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.

None yet

3 participants