sigmavirus24 / rush

Modular, way of implementing rate-limiting in python with a few handy default implementations

Home Page:https://rush.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature] TTL on keys

judahrand opened this issue · comments

Would you be interested in an implementation on time to live (TTL) on keys in the data store? Redis for example has this functionality and it is probably sensible to use it to avoid a build up of redundant key, value pairs being kept.

Perhaps something similar to the throttled project in Go?

Again this is something I'm happy to put in a PR for if you're likely to review and accept it.

I considered implementing this from the start but didn't need it personally