Skip to content

Commit

Permalink
More time needed sometimes
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Nov 27, 2024
1 parent 6fa31ac commit b318247
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion limitador/src/storage/redis/counters_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,8 @@ mod tests {
.consume(1, |items| {
assert_eq!(items.len(), 1);
assert!(
SystemTime::now().duration_since(start).unwrap() < Duration::from_millis(5)
SystemTime::now().duration_since(start).unwrap()
< Duration::from_millis(10)
);
async { Ok::<(), ()>(()) }
})
Expand Down

0 comments on commit b318247

Please sign in to comment.