Skip to content

Commit

Permalink
Pass Count-Min parameters correctly (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocadaruma authored May 15, 2023
1 parent 96c5696 commit c1716ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static PerKeyQuotaManager create(PartitionScope scope) {
// All counters should be instantiated from same random seed to
// generate same hash function family so that calculated hashes can be reused
// across multiple windows
Supplier<KeyCounter> counterSupplier = () -> new KeyCounter(new Random(seed), EPSILON, DELTA);
Supplier<KeyCounter> counterSupplier = () -> new KeyCounter(new Random(seed), epsilon, delta);

WindowedKeyStat windowedStat = new WindowedKeyStat(
scope.perKeyQuotaConfig().get().window(),
Expand Down

0 comments on commit c1716ca

Please sign in to comment.