Add sleep to beacon_node run loop

This commit is contained in:
Paul Hauner 2019-01-22 15:18:02 +11:00
parent bf1795a94e
commit eb4723fee5
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -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));
}
}