Skip to content

Commit b318247

Browse files
committed
More time needed sometimes
Signed-off-by: Alex Snaps <[email protected]>
1 parent 6fa31ac commit b318247

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

limitador/src/storage/redis/counters_cache.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,8 @@ mod tests {
569569
.consume(1, |items| {
570570
assert_eq!(items.len(), 1);
571571
assert!(
572-
SystemTime::now().duration_since(start).unwrap() < Duration::from_millis(5)
572+
SystemTime::now().duration_since(start).unwrap()
573+
< Duration::from_millis(10)
573574
);
574575
async { Ok::<(), ()>(()) }
575576
})

0 commit comments

Comments
 (0)