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

Use different publisher pool config for wait queue #1370

Closed
bstasyszyn opened this issue Jun 21, 2022 · 0 comments · Fixed by #1371
Closed

Use different publisher pool config for wait queue #1370

bstasyszyn opened this issue Jun 21, 2022 · 0 comments · Fixed by #1371
Assignees
Labels
bug Something isn't working

Comments

@bstasyszyn
Copy link
Contributor

The wait queue is currently using the same config value for MQ_PUBLISHER_POOL as the default queue. So if MQ_PUBLISHER_POOL is set to 1000 then 2000 channels are created. The wait queue should be fine with a small pool size.

@bstasyszyn bstasyszyn added the bug Something isn't working label Jun 21, 2022
@bstasyszyn bstasyszyn self-assigned this Jun 21, 2022
bstasyszyn added a commit to bstasyszyn/orb that referenced this issue Jun 21, 2022
Configure the wait queue with a small publisher pool so as not to waste resources.

closes trustbloc#1370

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant