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

feat(aot): configure tokio runtime by env on node #125

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

Meshiest
Copy link
Contributor

No description provided.

@Meshiest Meshiest requested review from voximity and gluax April 22, 2024 23:59
// and rayon cores. Note: We intentionally set the number of tokio
// worker threads and number of rayon cores to be more than the number
// of physical cores, because the node is expected to be I/O-bound.
let (num_tokio_worker_threads, max_tokio_blocking_threads, num_rayon_cores_global) =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ultimate nit: define these on separate lines for readability

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy/pasted from snarkos source. not gonna change any of this 😨

@Meshiest Meshiest merged commit 4bc2ace into main Apr 26, 2024
2 checks passed
@Meshiest Meshiest deleted the feat-stock-runtime branch April 26, 2024 01:09
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.

3 participants