How to check for existing Queue schedulers present on a queue? #1072
Answered
by
manast
bilalshaikh42
asked this question in
Q&A
-
I am using a single container for both the queues and queues schedulers, but this leads to many queue schedulers created if scaling horizontally. Is there a way to check if a queue has a queue scheduler attached? That way, my code would only create a queue scheduler if a certain number are not already present |
Beta Was this translation helpful? Give feedback.
Answered by
manast
Feb 13, 2022
Replies: 1 comment 1 reply
-
This is a great use case, basically what we need is a getSchedulers() method that we can call on the Queue instance. If you create an issue as a feature request I think we could att this pretty quick. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bilalshaikh42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a great use case, basically what we need is a getSchedulers() method that we can call on the Queue instance. If you create an issue as a feature request I think we could att this pretty quick.