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:
@@ -3277,6 +3277,7 @@ fn setup_snapshot_validator_config(
|
||||
archive_format: ArchiveFormat::TarBzip2,
|
||||
snapshot_version: snapshot_utils::SnapshotVersion::default(),
|
||||
maximum_snapshots_to_retain: snapshot_utils::DEFAULT_MAX_SNAPSHOTS_TO_RETAIN,
|
||||
packager_thread_niceness_adj: 0,
|
||||
};
|
||||
|
||||
// Create the account paths
|
||||
|
Reference in New Issue
Block a user