mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-10-23 14:02:21 +00:00
Fix seqno cache cleaning calculation
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -137,7 +137,7 @@ impl SeqnoCacheInner {
|
||||
cache.retain(|_, info| info.first_sent.elapsed() <= SEQNO_DEDUP_TTL);
|
||||
|
||||
debug!(
|
||||
cleaned_entries = cache.len() - prev_entries,
|
||||
cleaned_entries = prev_entries - cache.len(),
|
||||
"Cleaned up stale seqno request cache entries"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user