You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relax the fallback timeout by default (#22)
Increase the default fallback timeout, to give Redis over network more time before falling back to local in-memory-counter. Users can override this value.
Fallback to local in-memory counter if Redis is unavailable (#15)
* Fallback to local in-memory counter if Redis is unavailable
* Example with in-memory fallback; add Prometheus /metrics endpoint
* Improve naming, add example CURL command
* Fix passing custom redis client
* Update go-redis to @latest
* Set DisableIndentity to workaround SETINFO error
redis mget failed: ERR Unknown subcommand or wrong number of arguments for 'setinfo'. Try CLIENT HELP.
* Run CI test 10x times
* Test against in-memory fallback disabled
* CI: Print ulimit
* Adjust timeout values
* Tweak the reconnect interval
* Relax the default fallback timeout a bit
Improve performance by using MULTI and MGET commands (#13)
* Run ICNRBY + EXPIRE in a single atomic transaction
* Use MGET to fetch both counters at once