diff --git a/src/db.rs b/src/db.rs index b368bf3..f7c01ff 100644 --- a/src/db.rs +++ b/src/db.rs @@ -102,7 +102,7 @@ pub async fn get_next(db: &Surreal, config: &Config) -> Option Ok(ok) => ok, Err(_err) => { // basically just CSMA/CA - let delay = rand::random_range(10..500); + let delay = rand::random_range(10..10_000); sleep(Duration::from_millis(delay)).await; fails += 1; // Don't get stuck here forever, failing...