summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ci_driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci_driver.rs b/src/ci_driver.rs
index 8b69936..47892d6 100644
--- a/src/ci_driver.rs
+++ b/src/ci_driver.rs
@@ -499,6 +499,6 @@ async fn main() {
activate_job(Arc::clone(&dbctx), &job, &mut channel).await;
}
}
- std::thread::sleep(std::time::Duration::from_millis(100));
+ tokio::time::sleep(std::time::Duration::from_millis(100)).await;
}
}