WorkPool#unlimit why change all channels queue capacity size #688
wangqiandeniangniang
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
It looks like a single key can be updated. Feel free to submit a PR, although |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using java client version 5.11.0 , I feel confused,com.rabbitmq.client.impl.WorkPool#unlimit why change all channels queue capacity size ?why not change single channel ?
public synchronized void unlimit(K key) {
unlimited.add(key);
if (!unlimited.isEmpty()) {
setCapacities(Integer.MAX_VALUE);
}
}
Looking forward to your reply as soon as possible, thank you very much
Beta Was this translation helpful? Give feedback.
All reactions