koajs/ratelimit

Include a timeout for Redis operations

edevil opened this issue · 1 comments

In order to deal with unresponsive Redis servers we need to be able to specify a timeout value for Redis operations.

One way to do this is using the timeout method of promises as shown here:
redis/ioredis#61 (comment)

PR welcome