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

Change default thread count from 100 to 10. #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skynetcap
Copy link
Contributor

  • Fixes default thread count from 100 to 10, as initially specified in code comments.

From the code comments:

/// * "threads" optional, specifies the number of worker threads for the plugin. A thread
/// maintains a PostgreSQL connection to the server. The default is '10'.

@skynetcap
Copy link
Contributor Author

Given that the optimal thread count is usually based on the number of physical cores, on my validator I've experienced greatly improved performance by using a value of 32 threads. Given that most validator should have that as a minimum, it may be worth increasing this default value to 32.

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

Successfully merging this pull request may close these issues.

1 participant