From 0e846ab2fa68c6ba9015c2a5af96aff0c0ea8df9 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Fri, 1 Nov 2024 11:13:36 +0200 Subject: [PATCH] feat(systems/hosts/cloud): mess with nextcloud opcache settings --- systems/hosts/cloud/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/systems/hosts/cloud/default.nix b/systems/hosts/cloud/default.nix index 5e30df7..29a85dc 100644 --- a/systems/hosts/cloud/default.nix +++ b/systems/hosts/cloud/default.nix @@ -74,9 +74,12 @@ in { }; trusted_domains = ["nextcloud.rustylily.home.arpa"]; trusted_proxies = ["10.1.2.10"]; - opcache.interned_strings_buffer = 64; # Megabytes of memory to use. overwriteprotocol = "https"; + # OPcache memory settings, values are in megabytes. + opcache.interned_strings_buffer = 32; # Default is 8. + opcache.memory_consumption = 256; # Default is 128. + # Programs needed for... stuff. preview_ffmpeg_path = "${lib.getExe pkgs.ffmpeg}"; memories.exiftool = "${lib.getExe pkgs.exiftool}"; -- 2.44.1