This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree 2 files changed +14
-2
lines changed 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -815,6 +815,12 @@ impl Validator {
815
815
match & config. block_verification_method {
816
816
BlockVerificationMethod :: BlockstoreProcessor => {
817
817
info ! ( "no scheduler pool is installed for block verification..." ) ;
818
+ if let Some ( count) = config. unified_scheduler_handler_threads {
819
+ warn ! (
820
+ "--unified-scheduler-handler-threads={count} is ignored because unified \
821
+ scheduler is disabled"
822
+ ) ;
823
+ }
818
824
}
819
825
BlockVerificationMethod :: UnifiedScheduler => {
820
826
let scheduler_pool = DefaultSchedulerPool :: new_dyn (
Original file line number Diff line number Diff line change @@ -291,13 +291,19 @@ pub fn load_and_process_ledger(
291
291
"Using: block-verification-method: {}" ,
292
292
block_verification_method,
293
293
) ;
294
+ let unified_scheduler_handler_threads =
295
+ value_t ! ( arg_matches, "unified_scheduler_handler_threads" , usize ) . ok ( ) ;
294
296
match block_verification_method {
295
297
BlockVerificationMethod :: BlockstoreProcessor => {
296
298
info ! ( "no scheduler pool is installed for block verification..." ) ;
299
+ if let Some ( count) = unified_scheduler_handler_threads {
300
+ warn ! (
301
+ "--unified-scheduler-handler-threads={count} is ignored because unified \
302
+ scheduler is disabled"
303
+ ) ;
304
+ }
297
305
}
298
306
BlockVerificationMethod :: UnifiedScheduler => {
299
- let unified_scheduler_handler_threads =
300
- value_t ! ( arg_matches, "unified_scheduler_handler_threads" , usize ) . ok ( ) ;
301
307
let no_transaction_status_sender = None ;
302
308
let no_replay_vote_sender = None ;
303
309
let ignored_prioritization_fee_cache = Arc :: new ( PrioritizationFeeCache :: new ( 0u64 ) ) ;
You can’t perform that action at this time.
0 commit comments