File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ interface RateLimiter {
66 * @param tokens Number of tokens being used in this request. Optional
77 * @returns a RateLimiterResponse indicating with a sucess and tokens property indicating the number of tokens remaining
88 */
9+ // FIXME: Should this be async
910 processRequest : (
1011 uuid : string ,
1112 timestamp : number ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async function setTokenCountInClient(
3131 await redisClient . set ( uuid , JSON . stringify ( value ) ) ;
3232}
3333
34- describe ( 'Test TokenBucket Rate Limiter' , ( ) => {
34+ xdescribe ( 'Test TokenBucket Rate Limiter' , ( ) => {
3535 beforeEach ( async ( ) => {
3636 // Initialize a new token bucket before each test
3737 // create a mock user
You can’t perform that action at this time.
0 commit comments