jenkins-bot has submitted this change and it was merged.

Change subject: Only set $wgDisableOutputCompression to 'true' on the scalers
......................................................................


Only set $wgDisableOutputCompression to 'true' on the scalers

Follows I7f9f7f3d8885f.

Change-Id: I3c397e892e1d6e3195539b3bfbc56309c65af0d2
---
M wmf-config/CommonSettings.php
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 0c12419..8cc91f0 100755
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1347,7 +1347,10 @@
        return true;
 };
 
-$wgDisableOutputCompression = true;
+if ( file_exists( '/etc/wikimedia-scaler' ) ) {
+       $wgDisableOutputCompression = true;
+}
+
 $wgMaxShellFileSize = 512 * 1024;
 $wgMaxShellMemory = 1024 * 1024;
 $wgMaxShellTime = 50;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c397e892e1d6e3195539b3bfbc56309c65af0d2
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to