We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c94c74 commit 00cbfc9Copy full SHA for 00cbfc9
src/rateLimiters/slidingWindowLog.ts
@@ -35,7 +35,7 @@ class SlidingWindowLog implements RateLimiter {
35
if (windowSize <= 0 || capacity <= 0)
36
throw SyntaxError('SlidingWindowLog window size and capacity must be positive');
37
38
- // TODO: Define lua script for server side computation
+ // TODO: Define lua script for server side computation using either sorted sets or lists
39
// while x.timestamp + window_size < timestamp lpop
40
// //https://stackoverflow.com/questions/35677682/filtering-deleting-items-from-a-redis-set
41
// this.client.defineCommand('popWindow', {
0 commit comments