OptionalautoEnable auto-reconnect (default: true)
OptionalcommandCommand timeout in ms (default: 30000)
OptionalconnectConnection timeout in ms (default: 5000)
Server host
OptionalmaxMax consecutive command timeouts (with no intervening success) before the connection is concluded dead and reconnect is forced (default: 3, 0 to disable). This is the recovery path for a half-open socket when the health-check ping is disabled or slower than real traffic — a worker whose PULLs keep timing out no longer stalls forever waiting on the ping. See #94.
OptionalmaxMax commands in flight when pipelining (default: 100)
OptionalmaxMax consecutive ping failures before forcing reconnect (default: 3)
OptionalmaxMax reconnection attempts (default: Infinity)
OptionalmaxMax reconnect delay in ms (default: 30000)
OptionalpingHealth check ping interval in ms (default: 30000, 0 to disable)
OptionalpipeliningEnable pipelining - multiple commands in flight (default: true)
Server port
OptionalreconnectInitial reconnect delay in ms (default: 100)
OptionaltlsEnable TLS: true (system CAs) or per-connection TLS options (default: false)
OptionaltokenAuth token
Connection options