Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed Apr 19, 2024
1 parent 577cd74 commit b732c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions limitador/src/storage/redis/redis_cached.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,11 @@ impl CachedRedisStorage {
let mut interval = tokio::time::interval(flushing_period);
tokio::spawn(async move {
loop {
let partionned = !storage.is_alive().await;
if p.load(Ordering::Acquire) || partionned {
let partitioned = !storage.is_alive().await;
if p.load(Ordering::Acquire) || partitioned {
let batch = batcher_flusher.lock().unwrap();
if batch.len() > 0 {
flip_partitioned(&p, partionned);
flip_partitioned(&p, partitioned);
}
} else {
let counters = {
Expand Down

0 comments on commit b732c41

Please sign in to comment.