Ram has uploaded a new change for review.

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


Change subject: Bug: 45795 Add explicit property identifying null host.
......................................................................

Bug: 45795 Add explicit property identifying null host.

The host identified by the nullHost property allows Java code to skip attempts 
to
connect to this host thereby reducing noise in log files.
Needs parallel changes to lucene-search-2:
Change-Id: Ia68eef0307fe69843ccfcd678b62c42e91e1d3ec

Bug: 45795
Change-Id: I2764c45a9ce4391b88576b9122142b47e900956e
---
M templates/lucene/lsearch.conf.erb
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/47/52547/1

diff --git a/templates/lucene/lsearch.conf.erb 
b/templates/lucene/lsearch.conf.erb
index 4bdadd6..4ccbe9a 100644
--- a/templates/lucene/lsearch.conf.erb
+++ b/templates/lucene/lsearch.conf.erb
@@ -30,6 +30,9 @@
 # Port of http daemon, if different from default 8123
 # Search.port=8000
 
+# non-existent host used to disable indexes/wikis
+Search.nullHost=search1000x
+
 # In minutes, how frequently will the index host be checked for updates
 Search.updateinterval=0.5
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2764c45a9ce4391b88576b9122142b47e900956e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ram <r...@wikimedia.org>

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

Reply via email to