SGrondin / bottleneck

Job scheduler and rate limiter, supports Clustering
MIT License
1.82k stars 75 forks source link

Long-lasting limiters with matching cardinality to app's users #218

Open norberto-e-888 opened 1 year ago

norberto-e-888 commented 1 year ago

I have a user case where I would want to have as many limiters as I have users and have these last indefentitely, I am looking at the concept of groups for this, but I am a bit worried by the fact that a timeout is mentioned for limiters where by default they timeout after 5 minutes of being idle "to avoid memory leaks". Is there a way to make limiters never time out or are limiters simply not supposed to be indefinite?