mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Remove useless comment from serverCron().
The behavior is well specified by the code itself.
This commit is contained in:
parent
a18e4c964e
commit
e1e0bbe04d
@ -1095,7 +1095,7 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
|
||||
}
|
||||
} else {
|
||||
/* If there is not a background saving/rewrite in progress check if
|
||||
* we have to save/rewrite now */
|
||||
* we have to save/rewrite now. */
|
||||
for (j = 0; j < server.saveparamslen; j++) {
|
||||
struct saveparam *sp = server.saveparams+j;
|
||||
|
||||
@ -1118,8 +1118,7 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
|
||||
}
|
||||
}
|
||||
|
||||
/* Trigger an AOF rewrite if needed */
|
||||
// If AOF disabled, we don't rewrite AOF file.
|
||||
/* Trigger an AOF rewrite if needed. */
|
||||
if (server.aof_state == AOF_ON &&
|
||||
server.rdb_child_pid == -1 &&
|
||||
server.aof_child_pid == -1 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user