Revert banking threads increase which seems to be slower in testing. (#4349)

This commit is contained in:
sakridge 2019-05-20 11:42:37 -07:00 committed by GitHub
parent 6d418aa3f1
commit 7024c73e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,6 @@ use solana_sdk::timing::{
MAX_TRANSACTION_FORWARDING_DELAY,
};
use solana_sdk::transaction::{self, Transaction, TransactionError};
use std::cmp;
use std::net::UdpSocket;
use std::rc::Rc;
use std::sync::atomic::{AtomicBool, Ordering};
@ -70,7 +69,8 @@ impl BankingStage {
poh_recorder,
verified_receiver,
verified_vote_receiver,
cmp::max(2, Self::num_threads()),
2, // 1 for voting, 1 for banking.
// More than 2 threads is slower in testnet testing.
)
}