Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
712ea729
Commit
712ea729
authored
Sep 30, 2015
by
antirez
Browse files
Call writeToClient() directly instead of the write handler.
parent
01c08b50
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
712ea729
...
@@ -1751,7 +1751,7 @@ void flushSlavesOutputBuffers(void) {
...
@@ -1751,7 +1751,7 @@ void flushSlavesOutputBuffers(void) {
slave
->
replstate
==
SLAVE_STATE_ONLINE
&&
slave
->
replstate
==
SLAVE_STATE_ONLINE
&&
listLength
(
slave
->
reply
))
listLength
(
slave
->
reply
))
{
{
sendReplyToClient
(
server
.
el
,
slave
->
fd
,
slave
,
0
);
writeToClient
(
slave
->
fd
,
slave
,
0
);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment