diff options
-rw-r--r-- | HTTP/RateLimit.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/HTTP/RateLimit.hs b/HTTP/RateLimit.hs index 39d7dbc..b90d282 100644 --- a/HTTP/RateLimit.hs +++ b/HTTP/RateLimit.hs @@ -114,7 +114,7 @@ mkBloomFilter = do -- Size the bloom filter to hold 1 million items, with a false -- positive rate of 1 in 100 thousand. This will use around 32 mb -- of memory. - (bloomhashes, bloomsize) = suggestSizing bloomMaxSize (1/100000) + (bloomsize, bloomhashes) = suggestSizing bloomMaxSize (1/100000) -- | Maximum number of RequestIDs that can be stored in a bloom filter -- without the false positive rate getting bad. |