mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
AOF auto rewrite percentage option parsing fixed
This commit is contained in:
@ -692,6 +692,7 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
|
||||
}
|
||||
|
||||
/* Trigger an AOF rewrite if needed */
|
||||
printf("%d\n", server.auto_aofrewrite_perc);
|
||||
if (server.auto_aofrewrite_perc &&
|
||||
server.appendonly_current_size > server.auto_aofrewrite_min_size)
|
||||
{
|
||||
|
Reference in New Issue
Block a user