mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-11 01:31:38 +00:00
sleep longer when the service has no tasks to process (#78)
This commit is contained in:
parent
aa48469ad0
commit
062ff53e2e
@ -254,7 +254,7 @@ impl Agent {
|
||||
}
|
||||
|
||||
async fn sleep(&mut self) {
|
||||
let delay = time::Duration::from_secs(2);
|
||||
let delay = time::Duration::from_secs(30);
|
||||
time::delay_for(delay).await;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user