From 1fc5aae4221a4c6973c7c7a1462732eea66d571c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 29 Jan 2023 19:24:42 +0000 Subject: [PATCH] Increase memory limit for refresh-links --- cookbooks/mediawiki/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index 589a95072..ef1d35346 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -132,7 +132,7 @@ end systemd_service "mediawiki-refresh-links@" do description "Refresh mediawiki links for %i" - exec_start "/usr/bin/php -d memory_limit=4096M -d error_reporting=22517 /srv/%i/w/maintenance/refreshLinks.php --server=https://%i --memory-limit=2048M" + exec_start "/usr/bin/php -d memory_limit=4096M -d error_reporting=22517 /srv/%i/w/maintenance/refreshLinks.php --server=https://%i --memory-limit=4096M" user node[:mediawiki][:user] nice 10 sandbox :enable_network => true -- 2.39.5