fix: external loop
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kjuulh 2025-05-26 13:17:08 +02:00
parent 7018dc6dfa
commit 499fa820e9

View File

@ -132,9 +132,9 @@ where
tracing::debug!("running job");
if let Err(e) = drifter.execute(child_token).await {
tracing::error!("drift job failed with error: {}", e);
let elapsed = start.elapsed();
wait = interval.saturating_sub(elapsed);
tracing::error!("drift job failed with error: {}, waiting: {}s before trying again", e, wait.as_secs());
continue
}