Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1284823f34 |
+1
-1
@@ -380,7 +380,7 @@ size_t freeMemoryGetNotCountedMemory(void) {
|
|||||||
|
|
||||||
/* also don't count the replication backlog memory
|
/* also don't count the replication backlog memory
|
||||||
* that's where the replication clients get their memory from */
|
* that's where the replication clients get their memory from */
|
||||||
overhead += g_pserver->repl_backlog_size;
|
overhead += g_pserver->repl_backlog_size - g_pserver->repl_backlog_config_size;
|
||||||
|
|
||||||
if (g_pserver->aof_state != AOF_OFF) {
|
if (g_pserver->aof_state != AOF_OFF) {
|
||||||
overhead += sdsalloc(g_pserver->aof_buf)+aofRewriteBufferSize();
|
overhead += sdsalloc(g_pserver->aof_buf)+aofRewriteBufferSize();
|
||||||
|
|||||||
Reference in new issue
Block a user