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
8c43e663
"vscode:/vscode.git/clone" did not exist on "7fe71894e7a57c9447a028e93bc2fd54e07160f3"
Commit
8c43e663
authored
Jan 23, 2012
by
antirez
Browse files
actually call the function to async free clients in serverCron().
parent
7eac2a75
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
8c43e663
...
@@ -754,6 +754,9 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
...
@@ -754,6 +754,9 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
* in order to guarantee a strict consistency. */
* in order to guarantee a strict consistency. */
if
(
server
.
masterhost
==
NULL
)
activeExpireCycle
();
if
(
server
.
masterhost
==
NULL
)
activeExpireCycle
();
/* Close clients that need to be closed asynchronous */
freeClientsInAsyncFreeQueue
();
/* Replication cron function -- used to reconnect to master and
/* Replication cron function -- used to reconnect to master and
* to detect transfer failures. */
* to detect transfer failures. */
if
(
!
(
loops
%
10
))
replicationCron
();
if
(
!
(
loops
%
10
))
replicationCron
();
...
...
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