Add sleep to prevent spinning thread

This commit is contained in:
Tyera Eulberg
2018-09-10 13:42:04 -06:00
committed by Grimes
parent a093d5c809
commit 0ef05de889

View File

@@ -58,6 +58,7 @@ impl JsonRpcService {
server.unwrap().close();
break;
}
sleep(Duration::from_millis(100));
}
()
})