diff --git a/src/index.js b/src/index.js index 0b20c52..c26ce56 100644 --- a/src/index.js +++ b/src/index.js @@ -114,7 +114,9 @@ AxiosRateLimit.prototype.shift = function () { if (this.timeslotRequests === 0) { this.timeoutId = setTimeout(function () { this.timeslotRequests = 0 - this.shift() + for(let i =0; i