From f34c7e0c5251b2da657210d4a4851a0f21bc835c Mon Sep 17 00:00:00 2001 From: Sik Yoon Date: Fri, 8 Dec 2023 00:55:40 +0900 Subject: [PATCH] Shorten wait time --- src/coin_health_check_team/request_candles.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coin_health_check_team/request_candles.rs b/src/coin_health_check_team/request_candles.rs index a53a0b4..e13e521 100644 --- a/src/coin_health_check_team/request_candles.rs +++ b/src/coin_health_check_team/request_candles.rs @@ -572,11 +572,11 @@ pub async fn fetch_candle_delay( if interval == "30m" { time_wait = 1_000; } else if interval == "1d" { - time_wait = 10_000; + time_wait = 5_000; } else if interval == "1w" { - time_wait = 20_000; + time_wait = 10_000; } else { - time_wait = 30_000; + time_wait = 15_000; } let mut server_on_result = select_record(