mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Remove timeout locks (#6048)
* Remove locks with timeouts * Readd test * Update docs * Merge remote-tracking branch 'origin/unstable' into pk-cache-timeout
This commit is contained in:
@@ -5,7 +5,6 @@ pub use beacon_chain;
|
||||
use beacon_chain::store::LevelDB;
|
||||
use beacon_chain::{
|
||||
builder::Witness, eth1_chain::CachingEth1Backend, slot_clock::SystemTimeSlotClock,
|
||||
TimeoutRwLock,
|
||||
};
|
||||
use clap::ArgMatches;
|
||||
pub use cli::cli_app;
|
||||
@@ -73,11 +72,6 @@ impl<E: EthSpec> ProductionBeaconNode<E> {
|
||||
)
|
||||
}
|
||||
|
||||
if !client_config.chain.enable_lock_timeouts {
|
||||
info!(log, "Disabling lock timeouts globally");
|
||||
TimeoutRwLock::disable_timeouts()
|
||||
}
|
||||
|
||||
if let Err(misaligned_forks) = validator_fork_epochs(&spec) {
|
||||
warn!(
|
||||
log,
|
||||
|
||||
Reference in New Issue
Block a user