summaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/server.c b/src/server.c
index 285ed8963..1a8efb596 100644
--- a/src/server.c
+++ b/src/server.c
@@ -36,7 +36,6 @@
#include "atomicvar.h"
#include "mt19937-64.h"
#include "functions.h"
-#include "hdr_alloc.h"
#include <time.h>
#include <signal.h>
@@ -1885,15 +1884,6 @@ void initServerConfig(void) {
appendServerSaveParams(300,100); /* save after 5 minutes and 100 changes */
appendServerSaveParams(60,10000); /* save after 1 minute and 10000 changes */
- /* Specify the allocation function for the hdr histogram */
- hdrAllocFuncs hdrallocfn = {
- .mallocFn = zmalloc,
- .callocFn = zcalloc_num,
- .reallocFn = zrealloc,
- .freeFn = zfree,
- };
- hdrSetAllocators(&hdrallocfn);
-
/* Replication related */
server.masterhost = NULL;
server.masterport = 6379;