You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -618,6 +618,38 @@ the second word as first parameter:
618
618
619
619
Duplicate all current options and return a new redisClient instance. All options passed to the duplicate function are going to replace the original option.
620
620
621
+
An example of when to use duplicate() would be to accomodate the connection-
622
+
blocking redis commands BRPOP, BLPOP, and BRPOPLPUSH. If these commands
623
+
are used on the same redisClient instance as non-blocking commands, the
624
+
non-blocking ones may be queued up until after the blocking ones finish.
0 commit comments