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

Change subject: Add 1:100 sampling rate for table of contents interaction.
......................................................................


Add 1:100 sampling rate for table of contents interaction.

EventLogging has a pretty strict limit for how many events it can write to its
database per second. Since the ToC data isn't being actively used right now
and is one of our biggest schemas in event throughput, this patch adds 1:100
sampling to the ToC data to ease the load on EventLogging.

Change-Id: Ib3ceaaac2add28eb671bea1686202fa9f01b565d
---
M config/config.json
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Dbrant: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/config/config.json b/config/config.json
index 2f4b2bf..eabe4f4 100644
--- a/config/config.json
+++ b/config/config.json
@@ -2,5 +2,6 @@
     "disableAnonEditing": false,
     "eventLogSampleRate": 0,
     "disableFullTextSearch": false,
-    "searchLogSampleRate": 100
+    "searchLogSampleRate": 100,
+    "tocLogSampleRate": 100
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib3ceaaac2add28eb671bea1686202fa9f01b565d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileApp
Gerrit-Branch: master
Gerrit-Owner: Deskana <dga...@wikimedia.org>
Gerrit-Reviewer: Dbrant <dbr...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to