BryanDavis has uploaded a new change for review.

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

Change subject: Set wgMemCachedServers to point to nutcracker
......................................................................

Set wgMemCachedServers to point to nutcracker

The default value is 127.0.0.1:11211, but we run nutcracker to proxy to
the memcached cluster in production. Adding because of
memecached-serious errors from wikitech showing that something is trying
to access the default memcached port.

Change-Id: I4673b25722ee7ac5ef7322e89387d2007399df9d
---
M wmf-config/mc-labs.php
M wmf-config/mc.php
2 files changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/05/161005/1

diff --git a/wmf-config/mc-labs.php b/wmf-config/mc-labs.php
index d599fd4..5949da9 100644
--- a/wmf-config/mc-labs.php
+++ b/wmf-config/mc-labs.php
@@ -19,6 +19,8 @@
 
 $wgMemCachedTimeout = 500000; # micro seconds
 
+$wgMemCachedServers = array( '127.0.0.1:11212' );
+
 $wgObjectCaches['memcached-pecl'] = array(
        'class'      => 'MemcachedPeclBagOStuff',
        'serializer' => 'php',
diff --git a/wmf-config/mc.php b/wmf-config/mc.php
index 94f1443..8a1a7ac 100644
--- a/wmf-config/mc.php
+++ b/wmf-config/mc.php
@@ -5,6 +5,8 @@
 $wgMemCachedPersistent = false;
 $wgMemCachedTimeout = 0.25 * 1e6;  // 250kμs (a quarter of a second).
 
+$wgMemCachedServers = array( '127.0.0.1:11212' );
+
 $wgObjectCaches['memcached-pecl'] = array(
        'class'      => 'MemcachedPeclBagOStuff',
        'serializer' => 'php',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4673b25722ee7ac5ef7322e89387d2007399df9d
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

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

Reply via email to