src: implement simulation data sources

This commit is contained in:
2025-09-24 08:32:34 +02:00
parent 19875f6ae5
commit 0cd2cc94b9
32 changed files with 389785 additions and 284 deletions

View File

@@ -56,14 +56,14 @@ impl Backoff {
'outer: loop {
for attempt in self.attempts {
match &latest {
Err(_) => {
Err(err) => {
match attempt {
Attempts::Finite(1) => {
warn!("Operation failed on final attempt.");
warn!("Operation failed on final attempt: {err:?}");
break 'outer
}
attempt => {
warn!("Operation failed. Retrying attempt {attempt:?} after {delay}");
warn!("Operation failed: {err:?} Retrying attempt {attempt:?} after {delay}");
Timer::after(delay).await;
delay *= 2;
latest = f().await