-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't flush hiredis write buffer during reads
HiredisConnection#write and #write_multi already call flush after writing, so this is unnecessary. This fixes a thread safety issue when PubSub is used across multiple threads.
- Loading branch information
1 parent
e8aff08
commit 221b7f2
Showing
1 changed file
with
18 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters