Skip to content

Commit a11e0c5

Browse files
author
Ruben Bridgewater
committed
Don't expose internal variables
1 parent 4e52981 commit a11e0c5

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -613,27 +613,16 @@ All commands are sent as multi-bulk commands. `args` can either be an Array of a
613613

614614
Boolean tracking the state of the connection to the Redis server.
615615

616-
## client.command_queue.length
616+
## client.command_queue_length
617617

618618
The number of commands that have been sent to the Redis server but not yet replied to. You can use this to
619619
enforce some kind of maximum queue depth for commands while connected.
620620

621-
Don't mess with `client.command_queue` though unless you really know what you are doing.
622-
623-
## client.offline_queue.length
621+
## client.offline_queue_length
624622

625623
The number of commands that have been queued up for a future connection. You can use this to enforce
626624
some kind of maximum queue depth for pre-connection commands.
627625

628-
## client.retry_delay
629-
630-
Current delay in milliseconds before a connection retry will be attempted. This starts at `200`.
631-
632-
## client.retry_backoff
633-
634-
Multiplier for future retry timeouts. This should be larger than 1 to add more time between retries.
635-
Defaults to 1.7. The default initial connection retry is 200, so the second retry will be 340, followed by 578, etc.
636-
637626
### Commands with Optional and Keyword arguments
638627

639628
This applies to anything that uses an optional `[WITHSCORES]` or `[LIMIT offset count]` in the [redis.io/commands](http://redis.io/commands) documentation.

0 commit comments

Comments
 (0)