-
Notifications
You must be signed in to change notification settings - Fork 1k
Move default value for --rpc-pubsub-notification-threads to CLI #158
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
Changes from all commits
e4a4d61
5a6c479
195f851
920845b
493f469
78645b7
b9e7173
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,6 +50,7 @@ solana-net-utils = { workspace = true } | |
| solana-perf = { workspace = true } | ||
| solana-poh = { workspace = true } | ||
| solana-program-runtime = { workspace = true } | ||
| solana-rayon-threadlimit = { workspace = true } | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This crates goes away long-term, just bubbling this up so that this PR does not alter existing behavior |
||
| solana-rpc = { workspace = true } | ||
| solana-rpc-client = { workspace = true } | ||
| solana-rpc-client-api = { workspace = true } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1382,11 +1382,9 @@ pub fn main() { | |
| usize | ||
| ), | ||
| worker_threads: value_t_or_exit!(matches, "rpc_pubsub_worker_threads", usize), | ||
| notification_threads: if full_api { | ||
| value_of(&matches, "rpc_pubsub_notification_threads") | ||
| } else { | ||
| Some(0) | ||
| }, | ||
| notification_threads: value_t!(matches, "rpc_pubsub_notification_threads", usize) | ||
| .ok() | ||
| .and_then(NonZeroUsize::new), | ||
|
Comment on lines
-1385
to
+1387
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use of where:
|
||
| }, | ||
| voting_disabled: matches.is_present("no_voting") || restricted_repair_only_mode, | ||
| wait_for_supermajority: value_t!(matches, "wait_for_supermajority", Slot).ok(), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.