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

Can you check the events maxLen setting is work for pro with group feature? #60

Open
for2gles opened this issue Sep 18, 2023 · 5 comments

Comments

@for2gles
Copy link

Hi, I have issue on Redis stream size for the events.

Before the same issue I had, I have fixed this from the another queue by setting stream.events.maxLen to 10 just like this.
And the size of the event stream went down when I use just normal bullmq.

But it looks not work what if I use the Bull Pro & group

this is my setting

const createdQueue = new Queue<T>(name, {
    connection: RedisIO,
    defaultJobOptions: {
        removeOnComplete: 3,
        removeOnFail: 10,
    },
    streams: {
      events: {
        maxLen: 10,
      },
    },
  });

But the size of Redis stream event when several gigabyte even
스크린샷 2023-09-18 오전 11 45 14
스크린샷 2023-09-18 오전 11 45 20

@for2gles for2gles changed the title Can you check the events maxLen setting is work for pro? Can you check the events maxLen setting is work for pro with group feature? Sep 18, 2023
@manast
Copy link
Contributor

manast commented Sep 22, 2023

I am confused about this... you mean the same maxLen setting does not work on the Pro version, but works on the standard version?

@jaroslaw-weber
Copy link

this is critical issue, it can fill up the redis very quickly (every few days needs to manually clean this up)

@for2gles
Copy link
Author

@manast It looks working without group feature, but doesn't look working with group feature

@manast
Copy link
Contributor

manast commented Sep 25, 2023

Ok, We are looking into it.

@roggervalf
Copy link
Collaborator

hi @for2gles, could you please try version 6.6.1, we introduce some improvements regarding our events

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

No branches or pull requests

4 participants