mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 06:44:35 +00:00
[Temp Commit] Implements more basic skeleton code.
This commit is contained in:
2
beacon_node/client/src/notifier.rs
Executable file → Normal file
2
beacon_node/client/src/notifier.rs
Executable file → Normal file
@@ -17,7 +17,7 @@ pub fn run<T: ClientTypes>(client: &Client<T>, executor: TaskExecutor, exit: Exi
|
||||
// notification heartbeat
|
||||
let interval = Interval::new(Instant::now(), Duration::from_secs(5));
|
||||
|
||||
let log = client.logger();
|
||||
let log = client.log.new(o!("Service" => "Notifier"));
|
||||
|
||||
// build heartbeat logic here
|
||||
let heartbeat = move |_| {
|
||||
|
||||
Reference in New Issue
Block a user