interface
RedisOptions
interface RedisOptions
- idleTimeout?: number
Idle timeout in milliseconds. Bun counts it from the last data the server sent. Sending does not reset it. When it fires, Bun closes the connection and runs
onclose. Bun does not reconnect on its own, even withautoReconnect: true. Callconnect()to reconnect. - maxRetries?: number
Maximum number of reconnection attempts before the client gives up and runs
onclose.