Skip to content

Tags: go-chi/httprate-redis

Tags

v0.6.0

Toggle v0.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
upgrade deps (#25)

v0.5.4

Toggle v0.5.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Backend to configuration (#23)

v0.5.3

Toggle v0.5.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.5.2

Toggle v0.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix Client opt (#20)

v0.5.1

Toggle v0.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Implement OnError and OnFallbackChange callbacks (#18)

v0.5.0

Toggle v0.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v0.4.0

Toggle v0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v0.3.0

Toggle v0.3.0's commit message
upgrade deps

v0.2.1

Toggle v0.2.1's commit message
update httprate dep version

v0.2.0

Toggle v0.2.0's commit message
few improvements to new go-redis/v9 iteration