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

POOL field in MessageDispatcher should not be static? #120

Open
damcaoson opened this issue Jan 1, 2022 · 1 comment
Open

POOL field in MessageDispatcher should not be static? #120

damcaoson opened this issue Jan 1, 2022 · 1 comment

Comments

@damcaoson
Copy link
Contributor

Hi,

My case is I'm using multiple MessageDispatcher in parallel but the POOL field in the class is shared for all instances, which causes failure in my use case. I think it is fine to remove the static modifier. What do you think?

@damcaoson
Copy link
Contributor Author

Ah, I see it is helpful to use shared POOL for multiple MessageDispatcher in a single thread. So maybe we allow set Pool for MessageDispatcher in some way?

@damcaoson damcaoson changed the title POOL field in MessageDispatcher should not be static POOL field in MessageDispatcher should not be static? Jan 1, 2022
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

1 participant