Skip to content

Commit

Permalink
Health check slot distance (#335)
Browse files Browse the repository at this point in the history
Changed validator health check slot distance to 128 to be consistent
  • Loading branch information
bartenbach authored Mar 22, 2024
1 parent cbd0369 commit 0906b89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Release channels have their own copy of this changelog:
* Changes
* `central-scheduler` as default option for `--block-production-method` (#34891)
* `solana-rpc-client-api`: `RpcFilterError` depends on `base64` version 0.22, so users may need to upgrade to `base64` version 0.22
* Changed default value for `--health-check-slot-distance` from 150 to 128

## [1.18.0]
* Changes
Expand Down
4 changes: 2 additions & 2 deletions validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use {
solana_net_utils::{MINIMUM_VALIDATOR_PORT_RANGE_WIDTH, VALIDATOR_PORT_RANGE},
solana_rayon_threadlimit::get_thread_count,
solana_rpc::{rpc::MAX_REQUEST_BODY_SIZE, rpc_pubsub_service::PubSubConfig},
solana_rpc_client_api::request::MAX_MULTIPLE_ACCOUNTS,
solana_rpc_client_api::request::{DELINQUENT_VALIDATOR_SLOT_DISTANCE, MAX_MULTIPLE_ACCOUNTS},
solana_runtime::{
snapshot_bank_utils::{
DEFAULT_FULL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS,
Expand Down Expand Up @@ -2216,7 +2216,7 @@ impl DefaultArgs {
maximum_local_snapshot_age: "2500".to_string(),
genesis_archive_unpacked_size: MAX_GENESIS_ARCHIVE_UNPACKED_SIZE.to_string(),
rpc_max_multiple_accounts: MAX_MULTIPLE_ACCOUNTS.to_string(),
health_check_slot_distance: "150".to_string(),
health_check_slot_distance: DELINQUENT_VALIDATOR_SLOT_DISTANCE.to_string(),
tower_storage: "file".to_string(),
etcd_domain_name: "localhost".to_string(),
rpc_pubsub_max_active_subscriptions: PubSubConfig::default()
Expand Down

0 comments on commit 0906b89

Please sign in to comment.