summaryrefslogtreecommitdiffhomepage
path: root/HTTP
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-09-13 12:39:47 -0400
committerJoey Hess <joeyh@joeyh.name>2016-09-13 12:39:47 -0400
commitb1ca9b89e2c0d987b438433b6783b794dc6e9d85 (patch)
treed304c93835496e362e643f5a0f51d7723fefa15a /HTTP
parent48ec718a6211a71ae0a796eb1c3a6ea091dc6e14 (diff)
downloadkeysafe-b1ca9b89e2c0d987b438433b6783b794dc6e9d85.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 e6b0344..7f142be 100644
--- a/HTTP/RateLimit.hs
+++ b/HTTP/RateLimit.hs
@@ -128,7 +128,7 @@ overallBurstSize :: Word64
overallBurstSize = 1000
overallFillRate :: Word64
-overallFillRate = 100000 -- refill 1 token per second
+overallFillRate = 1000000 -- refill 1 token per second
-- | How much data could be stored, in bytes per second, assuming all
-- buckets in the rate limiter are kept drained, and all requests are