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

Change subject: Set wgTranslateTranslationServices['TTMServer']['cutoff']
......................................................................


Set wgTranslateTranslationServices['TTMServer']['cutoff']

When not set, we see "Undefined index: cutoff" errors from
Translate/ttmserver/ElasticSearchTTMServer.php. Niklas suggested that
0.65 would be a reasonable value to use.

Change-Id: I138b22a0c23fd08372a51eb9ed6662a11a7fe155
---
M wmf-config/CommonSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  Nikerabbit: Looks good to me, but someone else must approve
  MaxSem: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index f87936d..f660715 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2258,6 +2258,7 @@
                        'shards' => 1,
                        'replicas' => 1,
                        'index' => $wmgTranslateESIndex,
+                       'cutoff' => 0.65,
                        'config' => array(
                                'servers' => $servers,
                        ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I138b22a0c23fd08372a51eb9ed6662a11a7fe155
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to