Giuseppe Lavagetto has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/189505

Change subject: mediawiki: armonize HHVM settings with Zend ones
......................................................................

mediawiki: armonize HHVM settings with Zend ones

We did declare preg_recursion_limit and max_execution_time in the Zend
php.ini, and they are both missing in HHVM. This commit reintroduces both.

Change-Id: I95f8f6bb47fb87b97b3adb4fa58e58659ce90da0
Signed-off-by: Giuseppe Lavagetto <glavage...@wikimedia.org>
---
M modules/mediawiki/manifests/hhvm.pp
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/189505/1

diff --git a/modules/mediawiki/manifests/hhvm.pp 
b/modules/mediawiki/manifests/hhvm.pp
index 619a705..e48aab5 100644
--- a/modules/mediawiki/manifests/hhvm.pp
+++ b/modules/mediawiki/manifests/hhvm.pp
@@ -38,7 +38,11 @@
                     thread_count          => $max_threads,
                 },
                 pcre_cache_type => 'lru',
+                preg => {
+                    recursion_limit => 1000,
+                }
             },
+            max_execution_time => 180,
         },
     }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/189505
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I95f8f6bb47fb87b97b3adb4fa58e58659ce90da0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to