Skip to content

Glossary: Redis and Caching

disableOfflineQueue

Also written: reconnectStrategy, connectTimeout

A node-redis option that makes commands fail at once when Redis is down, instead of queuing and hanging. It is paired with `socket.connectTimeout` and `socket.reconnectStrategy` to fail fast.

Where the book teaches it

Related terms

Fail open, fail closednode-redis