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
d28948b1
Commit
d28948b1
authored
Jan 13, 2020
by
antirez
Browse files
Port PR #6110 to new connection object code.
parent
a8c912ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
d28948b1
...
...
@@ -2822,7 +2822,7 @@ int handleClientsWithPendingWritesUsingThreads(void) {
listRewind
(
io_threads_list
[
server
.
io_threads_num
],
&
li
);
while
((
ln
=
listNext
(
&
li
)))
{
client
*
c
=
listNodeValue
(
ln
);
writeToClient
(
c
->
fd
,
c
,
0
);
writeToClient
(
c
,
0
);
}
listEmpty
(
io_threads_list
[
server
.
io_threads_num
]);
...
...
@@ -2907,7 +2907,7 @@ int handleClientsWithPendingReadsUsingThreads(void) {
listRewind
(
io_threads_list
[
server
.
io_threads_num
],
&
li
);
while
((
ln
=
listNext
(
&
li
)))
{
client
*
c
=
listNodeValue
(
ln
);
readQueryFromClient
(
NULL
,
c
->
fd
,
c
,
0
);
readQueryFromClient
(
c
->
conn
);
}
listEmpty
(
io_threads_list
[
server
.
io_threads_num
]);
...
...
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