jhurliman/node-rate-limiter — pull request #6 by rickhuizinga (2013-08-02 02:05:22+00:00)
Title: Fixed bug with stale token count

The getTokensRemaining function was returning a stale token count.

Needs to call tokenBucket.drip() to update the token count so that it is current at the time the count was requested.