mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 21:08:32 +00:00
Support legacy data directories (#2846)
This commit is contained in:
@@ -66,6 +66,15 @@ impl<E: EthSpec> ProductionBeaconNode<E> {
|
||||
let freezer_db_path = client_config.create_freezer_db_path()?;
|
||||
let executor = context.executor.clone();
|
||||
|
||||
if let Some(legacy_dir) = client_config.get_existing_legacy_data_dir() {
|
||||
warn!(
|
||||
log,
|
||||
"Legacy datadir location";
|
||||
"msg" => "this occurs when using relative paths for a datadir location",
|
||||
"location" => ?legacy_dir,
|
||||
)
|
||||
}
|
||||
|
||||
if !client_config.chain.enable_lock_timeouts {
|
||||
info!(log, "Disabling lock timeouts globally");
|
||||
TimeoutRwLock::disable_timeouts()
|
||||
|
||||
Reference in New Issue
Block a user