Skip to content

Commit 0906b89

Browse files
authored
Health check slot distance (#335)
Changed validator health check slot distance to 128 to be consistent
1 parent cbd0369 commit 0906b89

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Release channels have their own copy of this changelog:
1717
* Changes
1818
* `central-scheduler` as default option for `--block-production-method` (#34891)
1919
* `solana-rpc-client-api`: `RpcFilterError` depends on `base64` version 0.22, so users may need to upgrade to `base64` version 0.22
20+
* Changed default value for `--health-check-slot-distance` from 150 to 128
2021

2122
## [1.18.0]
2223
* Changes

validator/src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use {
2828
solana_net_utils::{MINIMUM_VALIDATOR_PORT_RANGE_WIDTH, VALIDATOR_PORT_RANGE},
2929
solana_rayon_threadlimit::get_thread_count,
3030
solana_rpc::{rpc::MAX_REQUEST_BODY_SIZE, rpc_pubsub_service::PubSubConfig},
31-
solana_rpc_client_api::request::MAX_MULTIPLE_ACCOUNTS,
31+
solana_rpc_client_api::request::{DELINQUENT_VALIDATOR_SLOT_DISTANCE, MAX_MULTIPLE_ACCOUNTS},
3232
solana_runtime::{
3333
snapshot_bank_utils::{
3434
DEFAULT_FULL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS,
@@ -2216,7 +2216,7 @@ impl DefaultArgs {
22162216
maximum_local_snapshot_age: "2500".to_string(),
22172217
genesis_archive_unpacked_size: MAX_GENESIS_ARCHIVE_UNPACKED_SIZE.to_string(),
22182218
rpc_max_multiple_accounts: MAX_MULTIPLE_ACCOUNTS.to_string(),
2219-
health_check_slot_distance: "150".to_string(),
2219+
health_check_slot_distance: DELINQUENT_VALIDATOR_SLOT_DISTANCE.to_string(),
22202220
tower_storage: "file".to_string(),
22212221
etcd_domain_name: "localhost".to_string(),
22222222
rpc_pubsub_max_active_subscriptions: PubSubConfig::default()

0 commit comments

Comments
 (0)