Enabling the --rate-limit-headers
polutes the keyspace in Redis
#312
Labels
kind/bug
Something isn't working
--rate-limit-headers
polutes the keyspace in Redis
#312
Since we mutate the
Counter
s by setting theremaining
&expires_in
fields, and we are doing so prior invoking theSCRIPT_UPDATE_COUNTER
, which alsosadd
the key to a set for that limit in redis, this creates dups for all these counters.We probably need to refactor this so that we differentiate between
CounterKey
andCounter
types properlyThe text was updated successfully, but these errors were encountered: