From eb4723fee5475a73eddd43d6a303ceb4e3748ae0 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 22 Jan 2019 15:18:02 +1100 Subject: [PATCH] Add sleep to beacon_node run loop --- beacon_node/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_node/src/main.rs b/beacon_node/src/main.rs index 86329c4a2..08660cbc4 100644 --- a/beacon_node/src/main.rs +++ b/beacon_node/src/main.rs @@ -60,7 +60,7 @@ fn main() { let _server = start_server(log.clone()); - loop {} - - // info!(log, "Exiting."); + loop { + std::thread::sleep(std::time::Duration::from_secs(1)); + } }