aboutsummaryrefslogtreecommitdiff
path: root/lib/http/rl.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-02-17 21:18:18 -0700
committerAdelyn Breedlove <[email protected]>2019-02-17 21:18:18 -0700
commit52c6918c139232ebc4239c156bbf76e00a197530 (patch)
treed6a4229e6c747830b89244de97c264c6be172b29 /lib/http/rl.ml
parentAdd role test command (diff)
downloaddisml-52c6918c139232ebc4239c156bbf76e00a197530.tar.xz
disml-52c6918c139232ebc4239c156bbf76e00a197530.zip
Fix an issue where routes that don't return rate limit info lock forever
Diffstat (limited to 'lib/http/rl.ml')
-rw-r--r--lib/http/rl.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http/rl.ml b/lib/http/rl.ml
index f0c15be..6c61953 100644
--- a/lib/http/rl.ml
+++ b/lib/http/rl.ml
@@ -7,7 +7,7 @@ type rl = {
limit: int;
remaining: int;
reset: int;
-}
+} [@@deriving sexp]
type t = ((rl, read_write) Mvar.t) RouteMap.t