Bump Rust 1.94.0.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-03-08 05:40:17 +00:00
parent 55ee0d8ab6
commit d2836e9f50
28 changed files with 39 additions and 20 deletions

View File

@@ -66,8 +66,8 @@ where
.stream()
.ready_filter(|(next_id, _)| {
let backed_off = self.is_backed_off(next_id, Range {
start: Duration::from_secs(5 * 60),
end: Duration::from_secs(60 * 60 * 24),
start: Duration::from_mins(5),
end: Duration::from_hours(24),
});
!backed_off
@@ -135,8 +135,8 @@ async fn fetch_auth_chain(
}
if self.is_backed_off(&next_id, Range {
start: Duration::from_secs(2 * 60),
end: Duration::from_secs(60 * 60 * 8),
start: Duration::from_mins(2),
end: Duration::from_hours(8),
}) {
debug_warn!("Backed off from {next_id}");
continue;

View File

@@ -50,8 +50,8 @@ pub(super) async fn handle_prev_pdu(
}
if self.is_backed_off(prev_id, Range {
start: Duration::from_secs(5 * 60),
end: Duration::from_secs(60 * 60 * 24),
start: Duration::from_mins(5),
end: Duration::from_hours(24),
}) {
debug!(?prev_id, "Backing off from prev_event");
return Ok(None);

View File

@@ -59,7 +59,7 @@ impl crate::Service for Service {
}
tokio::select! {
() = tokio::time::sleep(Duration::from_secs(60 * 60)) => {},
() = tokio::time::sleep(Duration::from_hours(1)) => {},
() = self.services.server.until_shutdown() => return Ok(())
};
}