diff --git a/lib/RateLimiterPrisma.js b/lib/RateLimiterPrisma.js index 497d3eb..eb19986 100644 --- a/lib/RateLimiterPrisma.js +++ b/lib/RateLimiterPrisma.js @@ -120,6 +120,7 @@ class RateLimiterPrisma extends RateLimiterStoreAbstract { }); this._clearExpiredHourAgo(); }, 300000); // Clear every 5 minutes + this._clearExpiredTimeoutId.unref(); } }