set target hash/sec to half of capability for auto (#16096)
This commit is contained in:
parent
f68860a643
commit
db3eecf1e9
|
@ -463,7 +463,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
|
|||
ClusterType::Development => {
|
||||
let hashes_per_tick =
|
||||
compute_hashes_per_tick(poh_config.target_tick_duration, 1_000_000);
|
||||
poh_config.hashes_per_tick = Some(hashes_per_tick);
|
||||
poh_config.hashes_per_tick = Some(hashes_per_tick / 2); // use 50% of peak ability
|
||||
}
|
||||
ClusterType::Devnet | ClusterType::Testnet | ClusterType::MainnetBeta => {
|
||||
poh_config.hashes_per_tick = Some(clock::DEFAULT_HASHES_PER_TICK);
|
||||
|
|
Loading…
Reference in New Issue