This commit is contained in:
Elijah McMorris 2023-11-15 07:46:09 -08:00
parent 3143ecf70d
commit 5f3c11efb1
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
2 changed files with 73 additions and 1 deletions

View file

@ -46,7 +46,7 @@ fn csv_merge() -> Result<(), Box<dyn Error>> {
fn ark_plan(ticker: Ticker) -> Result<(), Box<dyn Error>> {
println!("Starting: {:#?}", ticker);
let sec = Duration::from_secs(rand::thread_rng().gen_range(5 * 60..=30 * 60));
let sec = Duration::from_secs(rand::thread_rng().gen_range(30 * 60..=4* 60 * 60));
// sleep(sec).await;
thread::sleep(sec);