Skip to content

Commit

Permalink
increase the number of keys returned by a scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Aug 7, 2024
1 parent b2bddc3 commit 8b2deb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-router/src/plugins/cache/invalidation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async fn handle_request(
);

// FIXME: configurable batch size
let mut stream = storage.scan(key_prefix.clone(), Some(10));
let mut stream = storage.scan(key_prefix.clone(), Some(1000));
let mut count = 0u64;
let mut error = None;

Expand Down

0 comments on commit 8b2deb0

Please sign in to comment.