Skip to content

Commit

Permalink
integration tests for async redis with local cache: add flushing period
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Mar 28, 2024
1 parent bc2c97c commit 1b1093a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion limitador/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ macro_rules! test_with_all_storage_impls {
#[serial]
async fn [<$function _with_async_redis_and_local_cache>]() {
let storage_builder = CachedRedisStorageBuilder::new("redis://127.0.0.1:6379").
flushing_period(None).
flushing_period(Some(Duration::from_millis(200))).
max_ttl_cached_counters(Duration::from_secs(3600)).
ttl_ratio_cached_counters(1).
max_cached_counters(10000);
Expand Down

0 comments on commit 1b1093a

Please sign in to comment.