jhurliman / node-rate-limiter

A generic rate limiter for node.js. Useful for API clients, web crawling, or other tasks that need to be throttled
MIT License
1.5k stars 132 forks source link

increment tokensThisInterval in tryRemoveTokens #29

Closed callmewa closed 6 years ago

callmewa commented 7 years ago

Hope I'm not mistaken in this.

levenleven commented 6 years ago

This project is no longer maintained?

jhurliman commented 6 years ago

Apologies for the (long) delay. I am still maintaining this project, but initially avoided merging this PR because I wanted to confirm it would not have any unwanted side effects on how the library is currently being used. This seems safe and correct though, so merging now.

levenleven commented 6 years ago

Thanks!