diff options
Diffstat (limited to 'valkey.dir-jemalloc.patch')
-rw-r--r-- | valkey.dir-jemalloc.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/valkey.dir-jemalloc.patch b/valkey.dir-jemalloc.patch new file mode 100644 index 000000000000..62aee72683f2 --- /dev/null +++ b/valkey.dir-jemalloc.patch @@ -0,0 +1,26 @@ +diff --unified --recursive --text valkey.orig/src/Makefile valkey.new/src/Makefile +--- valkey.orig/src/Makefile 2024-04-16 06:18:47.000000000 +0200 ++++ valkey.new/src/Makefile 2024-04-24 22:24:12.967476997 +0200 +@@ -275,8 +275,8 @@ + + ifeq ($(MALLOC),jemalloc) + DEPENDENCY_TARGETS+= jemalloc +- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include +- FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS) ++ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc ++ FINAL_LIBS := -ljemalloc $(FINAL_LIBS) + endif + + # LIBSSL & LIBCRYPTO +diff --unified --recursive --text valkey.orig/valkey.conf valkey.new/valkey.conf +--- valkey.orig/valkey.conf 2024-04-16 06:18:47.000000000 +0200 ++++ valkey.new/valkey.conf 2024-04-24 22:23:23.050733391 +0200 +@@ -504,7 +504,7 @@ + # The Append Only File will also be created inside this directory. + # + # Note that you must specify a directory here, not a file name. +-dir ./ ++dir /var/lib/valkey/ + + ################################# REPLICATION ################################# + |