From b1ca9b89e2c0d987b438433b6783b794dc6e9d85 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 13 Sep 2016 12:39:47 -0400 Subject: got my usec conversion wrong --- HTTP/RateLimit.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HTTP') 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 -- cgit v1.2.3