Skip to content

High performance self-hosted photo and video management solution.

fix(server): re-add mimalloc (#7511)

Mert11de526bcf2d
diff --git a/server/start.sh b/server/start.sh
index 9dba2e2922..9c9b4754a0 100755
--- a/server/start.sh
+++ b/server/start.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
+lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
+export LD_PRELOAD="$lib_path"
+
read_file_and_export() {
if [ -n "${!1}" ]; then
content="$(cat "${!1}")"