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 size definition #3

Open
Larandar opened this issue Jun 28, 2012 · 2 comments
Open

Pool size definition #3

Larandar opened this issue Jun 28, 2012 · 2 comments

Comments

@Larandar
Copy link

Hello,
First I love the way you concept HawtDispatch.
But a crucial point for me is "How can I define the Pool size ?" Because in new implementation using more threat that processor number can make a gain.

Thanks, Larandar

@chirino
Copy link
Member

chirino commented Jun 29, 2012

Just set the hawtdispatch.threads system property the number of threads you want it to use.

@Larandar
Copy link
Author

Ok thank, maybe a method to set the size can be cool.

Dispatcher.setThreadsNumber(64) vs System.setProperty("hawtdispatch.threads", "64" ) I prefer first one

Thank

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

2 participants