Seb35 has uploaded a new change for review.

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

Change subject: Do not fill suffixes and wikis in $wgConf (unuseful)
......................................................................

Do not fill suffixes and wikis in $wgConf (unuseful)
---
M src/MediaWikiFarm.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MediaWikiFarm 
refs/changes/78/299378/1

diff --git a/src/MediaWikiFarm.php b/src/MediaWikiFarm.php
index de3d641..7826b57 100644
--- a/src/MediaWikiFarm.php
+++ b/src/MediaWikiFarm.php
@@ -99,7 +99,9 @@
                        return false;
                
                # Set available suffixes and wikis
-               $this->setWgConf();
+               // This is not useful since nobody else use available suffixes 
and wikis
+               // For now, remove loading of one config file to improve a bit 
performance
+               //$this->setWgConf();
                
                return true;
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id3409157ac8d04d5a867c9f7320fb29e56f94ac0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiFarm
Gerrit-Branch: master
Gerrit-Owner: Seb35 <seb35wikipe...@gmail.com>

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

Reply via email to