Replies: 1 comment 3 replies
-
Are you using Sidekiq Pro or Enterprise? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can use
to find the size of a queue before I throw more jobs onto it. But if MyJob uses a different Redis client, it'll check the Redis client configured for
Sidekiq
and return the wrong result.I sense temporarily reconfiguring Sidekiq to use a different Redis pool is kind of risky. What if another thread enqueues jobs to the second Redis instead of the correct one? What if it crashes or branches and fails to reset to the correct default?
It would be nice to be able to do something like this:
or this:
Beta Was this translation helpful? Give feedback.
All reactions