Filippo Giunchedi has uploaded a new change for review.

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

Change subject: elasticsearch: restore 2s timeout for ganglia
......................................................................

elasticsearch: restore 2s timeout for ganglia

apparently has made gmon even worse

This reverts commit ff0422ea4f43fa3b46eeec65f487a3263928c9a1.

Change-Id: I75de9c1fc317c62fa6a8e380ec7c1dbc065aa087
---
M modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/14/155614/1

diff --git a/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py 
b/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
index c22cd8e..3842625 100644
--- a/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
+++ b/modules/elasticsearch/files/ganglia/elasticsearch_monitoring.py
@@ -426,7 +426,7 @@
 
 
 def load(url):
-    return json.load(urllib2.urlopen(url, None, 5))
+    return json.load(urllib2.urlopen(url, None, 2))
 
 
 def update_result(data):

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I75de9c1fc317c62fa6a8e380ec7c1dbc065aa087
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>

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

Reply via email to