fix(managed): correct pacing and drain cleanup

This commit is contained in:
Nils Andreas Svee committed 2026-08-04 22:33:00 +07:00
1 parent 1cb6e07706
commit 1af8afcfae
4 files changed
+429 -25

No files matched your search

@@ -50,6 +50,11 @@ impl ProbeSchedule {
self.next_send_at
}
#[cfg(feature = "tokio")]
pub(crate) fn interval(&self) -> Duration {
self.interval
}
pub(crate) fn permit_probe_at(&mut self, now: Instant) -> bool {
if self.next_send_at.is_none() {
return false;