This commit is contained in:
pawan
2020-05-22 13:30:40 +05:30
parent f5d49287b9
commit 85d099f664
10 changed files with 30 additions and 45 deletions

View File

@@ -8,7 +8,6 @@ use slog::info;
use slot_clock::SlotClock;
use std::sync::Arc;
use std::time::Duration;
use tokio::runtime::Handle;
use tokio::time::{interval_at, Instant};
/// Spawns a timer service which periodically executes tasks for the beacon chain
@@ -32,7 +31,7 @@ pub fn spawn<T: BeaconChainTypes>(
}
};
executor.spawn(timer_future, "timer_service");
executor.spawn(timer_future, "timer");
info!(log, "Timer service started");
Ok(())