ExHammer / hammer

An Elixir rate-limiter with pluggable backends
https://hexdocs.pm/hammer/
MIT License
749 stars 42 forks source link

Fix expiry warning #47

Closed kxcrl closed 2 years ago

kxcrl commented 2 years ago

Purpose

There is currently a warning thrown by any app that includes this library about expiry_ms. This is caused by the argument for it being called incorrectly. It was previously updated, but then the variable wasn't referenced in the returned args.