Skip to content

Commit 1f082ac

Browse files
authored
docs(*): additional clarification of Pub/Sub section (#1489)
The previous phrasing wasn't clear to me. The oxford comma is necessary to avoid ambiguity.
1 parent 87e382a commit 1f082ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,8 @@ sub.subscribe("a nice channel");
532532
```
533533

534534
When a client issues a `SUBSCRIBE` or `PSUBSCRIBE`, that connection is put into
535-
a "subscriber" mode. At that point, only commands that modify the subscription
536-
set are valid and quit (and depending on the redis version ping as well). When
535+
a "subscriber" mode. At that point, the only valid commands are those that modify the subscription
536+
set, and quit (also ping on some redis versions). When
537537
the subscription set is empty, the connection is put back into regular mode.
538538

539539
If you need to send regular commands to Redis while in subscriber mode, just

0 commit comments

Comments
 (0)