`enableOfflineQueue` in redis client
See original GitHub issueQuestion
- Why the redis client should be configured as
enableOfflineQueue: false
? When I tried without this option,rate-limit
does work well.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
API - ioredis - Read the Docs
enableOfflineQueue ], boolean, true, By default, if there is no active connection ... This command will create a new connection to Redis and...
Read more >node.js and redis cluster: handling disconnections
I'm using ioredis to connect to a redis cluster from node.js and trying ... never again try to reconnect (if enableOfflineQueue is false), ......
Read more >Ioredis NPM - npm.io
ioredis is a robust, full-featured Redis client that is used in the world's biggest online commerce company Alibaba and many other awesome companies....
Read more >Failing fast when Redis is down - BullMQ
In this case, you can just pass the option "enableOfflineQueue: false", ... Currently, there is a limitation in that the Redis instance must...
Read more >luin/ioredis - Gitter
Redis#connect() will reject immediately when the connection is not alive. ... On a slightly different topic, we disabled enableOfflineQueue because it was ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
closing this. be free to re-open if something comes up
@posquit0 There was also another reason of disabling offline queue. Since this package supports both
node_redis
andioredis
client packages, I do not want to bring any complications torate-limiter-flexible
docs. It works different fornode_redis
andioredis
:node_redis
uses offline queue on all Redis sever fails, butioredis
uses it only for requests sent beforeready
event.