summaryrefslogtreecommitdiffhomepage
path: root/HTTP
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-09-13 14:18:15 -0400
committerJoey Hess <joeyh@joeyh.name>2016-09-13 14:18:15 -0400
commitf44a21acfa111bbc5e65ac45a5a44622b5cda598 (patch)
tree84d0af0cba296f3cd51e00474290e64cecbbc2ae /HTTP
parent0c6d82c6c6523b7d045e287b907ca5fa7cab8b19 (diff)
downloadkeysafe-f44a21acfa111bbc5e65ac45a5a44622b5cda598.tar.gz
got my usec conversion wrong
Diffstat (limited to 'HTTP')
-rw-r--r--HTTP/RateLimit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTTP/RateLimit.hs b/HTTP/RateLimit.hs
index d8b3dc1..46cbcd8 100644
--- a/HTTP/RateLimit.hs
+++ b/HTTP/RateLimit.hs
@@ -172,7 +172,7 @@ assignWork ratelimiter bs = case mapMaybe mkProofReq bs of
-- impact many users.
tokenBucketWait (randomSaltGenerationLimiter ratelimiter)
100 -- burst
- 100000 -- refill 1 token per second
+ 1000000 -- refill 1 token per second
salt <- liftIO mkRandomSalt
withBloomFilter ratelimiter assignedRandomSalts