You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set queue option streams.events.maxLen to 10, confirmed Redis key bull:<queueName>:meta field opts.maxLenEvents is 10. Still bull:<queueName>:events count exceeds 10.
How to reproduce.
get redis running on 127.0.0.1:6379
put following code in a .ts file and run using ts-node.
Unfortunately it is not possible in Redis to trim the streams to an exact value as that would be too slow, so we use "nearly exact trimming": https://redis.io/docs/latest/commands/xtrim/
Version
v5.21.1
Platform
NodeJS
What happened?
I set queue option
streams.events.maxLen
to 10, confirmed Redis keybull:<queueName>:meta
fieldopts.maxLenEvents
is 10. Stillbull:<queueName>:events
count exceeds 10.How to reproduce.
bull.foo.events
key. Will exceeds 10 when all jobs are processed.Code of Conduct
The text was updated successfully, but these errors were encountered: