From 79a6b4b596b522f321c70ad26b6b3b3c1f7ccf25 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 1 May 2020 10:32:46 -0700 Subject: [PATCH] Add delay to keep RPC traffic down on error --- stake-monitor/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/stake-monitor/src/lib.rs b/stake-monitor/src/lib.rs index c080d0c9b1..8ec3bb5ba6 100644 --- a/stake-monitor/src/lib.rs +++ b/stake-monitor/src/lib.rs @@ -319,6 +319,7 @@ pub fn process_slots(rpc_client: &RpcClient, accounts_info: &mut AccountsInfo, b String ) ); + sleep(Duration::from_secs(1)); } } }