Add validator options to change priority of snapshot packager and RPC threads (v1.8) (#21020)
* Add function for changing thread's nice value Linux only. * Add validator option to change niceness of snapshot packager thread * Add validator option to change niceness of RPC server threads Fixes https://github.com/solana-labs/solana/issues/14556 * Run `./scripts/cargo-for-all-lock-files.sh tree`
This commit is contained in:
@@ -696,6 +696,7 @@ fn load_bank_forks(
|
||||
archive_format: ArchiveFormat::TarBzip2,
|
||||
snapshot_version: SnapshotVersion::default(),
|
||||
maximum_snapshots_to_retain: DEFAULT_MAX_SNAPSHOTS_TO_RETAIN,
|
||||
packager_thread_niceness_adj: 0,
|
||||
})
|
||||
};
|
||||
let account_paths = if let Some(account_paths) = arg_matches.value_of("account_paths") {
|
||||
|
Reference in New Issue
Block a user