In 1.x, we had applied multiple rate limiting ratesets for different periods - eg. one set for 60s, one set for 10s. Is that no longer possible in the 2.0 middleware? Doesn't seem like you can set the period any more...
The gritty details are that we're basically using https://godoc.org/golang.org/x/time/rate#Limiter with a Reservation.
And we give up on that reservation if it can't be satisfied under 1s/(2*Average).
This limit on the reservation is the somewhat arbitrary period that the doc is talking about.