Throttles RateLimiter.processRequest in express middleware so that requests for each user do not begin until the previous is complete. This ensures the redis store is properly updated before the next request is processed. Throttling is done
Corrects tests for the express middleware
Establishes redis connection module to manage connections. This sets the groundwork for future connection management, connection error handling and allows for easier mocking.
Type of Change
[x] Bug fix (non-breaking change which fixes an issue)
Summary
RateLimiter.processRequest
in express middleware so that requests for each user do not begin until the previous is complete. This ensures the redis store is properly updated before the next request is processed. Throttling is doneType of Change
Issues
Evidence