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