Ppchelko has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/343780 )

Change subject: Config: Set 'trends_at' property for the purge_strategy
......................................................................


Config: Set 'trends_at' property for the purge_strategy

Bug: T160127
Change-Id: I99157cf7674664ac48cee82b0543ff2e351922d4
---
M scap/templates/config.yaml.j2
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Ppchelko: Verified; Looks good to me, approved
  Jdlrobson: Looks good to me, but someone else must approve



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index eaa1be8..cb621f2 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -83,6 +83,9 @@
         max_age: 1440
         # minimum speed in edits per minute that a page is kept around
         min_speed: 0.1
+        trends_at: # Defines a state where min_speed no longer applies
+          min_edits: 30
+          min_editors: 3
       # the number of edits needed to take a page into account
       min_edits: <%= min_edits %>
       # the list of Kafka brokers to contact

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I99157cf7674664ac48cee82b0543ff2e351922d4
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/services/trending-edits/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Ppchelko <ppche...@wikimedia.org>

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

Reply via email to