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

fix: check in moveToFinished to use default val for opts.maxLenEvents #73

Merged
merged 2 commits into from Nov 21, 2019

Conversation

stansv
Copy link
Contributor

@stansv stansv commented Nov 20, 2019

Fixes #72.

@stansv stansv requested a review from manast November 20, 2019 12:47
@manast
Copy link
Contributor

manast commented Nov 20, 2019

I wonder if a default here is better than not trimming at all in this case? Also, what could be the reason for it? seems like something impossible to happen.

@stansv
Copy link
Contributor Author

stansv commented Nov 21, 2019

Yes we can also just skip XTRIM in case if someone deleted meta entry for a queue.

@stansv stansv merged commit f79e5ad into master Nov 21, 2019
@stansv stansv deleted the fix-72-default-maxLenEvents-in-move-to-finished-lua branch November 21, 2019 14:16
@manast
Copy link
Contributor

manast commented Nov 21, 2019

🎉 This PR is included in version 1.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

manast added a commit that referenced this pull request Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent "Lua redis() command arguments must be strings or integers"
2 participants