increase candle cooldown to 5 seconds

This commit is contained in:
dboures 2023-06-09 07:55:41 -05:00
parent d4afc71c04
commit 8b3e4b95a7
No known key found for this signature in database
GPG Key ID: AB3790129D478852
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ pub async fn batch_for_market(pool: &Pool, market: &MarketInfo) -> anyhow::Resul
let market_clone = market.clone();
loop {
sleep(Duration::milliseconds(2000).to_std()?).await;
sleep(Duration::milliseconds(5000).to_std()?).await;
match batch_inner(pool, &market_clone).await {
Ok(_) => {}
Err(e) => {