Shorten wait time
This commit is contained in:
parent
e75d70120a
commit
f34c7e0c52
|
|
@ -572,11 +572,11 @@ pub async fn fetch_candle_delay(
|
||||||
if interval == "30m" {
|
if interval == "30m" {
|
||||||
time_wait = 1_000;
|
time_wait = 1_000;
|
||||||
} else if interval == "1d" {
|
} else if interval == "1d" {
|
||||||
time_wait = 10_000;
|
time_wait = 5_000;
|
||||||
} else if interval == "1w" {
|
} else if interval == "1w" {
|
||||||
time_wait = 20_000;
|
time_wait = 10_000;
|
||||||
} else {
|
} else {
|
||||||
time_wait = 30_000;
|
time_wait = 15_000;
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut server_on_result = select_record(
|
let mut server_on_result = select_record(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user