Skip to content

Commit

Permalink
Add a run time limit to the mediawiki-jobs service
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Dec 7, 2023
1 parent a8719d3 commit 90089d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cookbooks/mediawiki/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
exec_start "/usr/bin/php -d memory_limit=2048M -d error_reporting=22517 /srv/%i/w/maintenance/runJobs.php --server=https://%i --maxtime=175 --memory-limit=2048M --procs=8"
user node[:mediawiki][:user]
nice 10
runtime_max_sec 3600
sandbox :enable_network => true
memory_deny_write_execute false
restrict_address_families "AF_UNIX"
Expand Down

0 comments on commit 90089d0

Please sign in to comment.