Skip to content

Commit

Permalink
Add delay to keep RPC traffic down on error
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed May 1, 2020
1 parent 91f0faa commit addfc99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stake-monitor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ pub fn process_slots(rpc_client: &RpcClient, accounts_info: &mut AccountsInfo, b
String
)
);
sleep(Duration::from_secs(1));
}
}
}
Expand Down

0 comments on commit addfc99

Please sign in to comment.