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

Change subject: Config: Lower min_edits in BetaCluster to 2
......................................................................


Config: Lower min_edits in BetaCluster to 2

Change-Id: I3bd5e3e4bf87bfa98ad0d3493308de4875140a3a
---
A scap/environments/beta/vars.yaml
M scap/scap.cfg
M scap/templates/config.yaml.j2
M scap/vars.yaml
4 files changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Mobrovac: Verified; Looks good to me, approved



diff --git a/scap/environments/beta/vars.yaml b/scap/environments/beta/vars.yaml
new file mode 100644
index 0000000..12ccd37
--- /dev/null
+++ b/scap/environments/beta/vars.yaml
@@ -0,0 +1 @@
+min_edits: 2
diff --git a/scap/scap.cfg b/scap/scap.cfg
index 66a2805..4a04dca 100644
--- a/scap/scap.cfg
+++ b/scap/scap.cfg
@@ -16,6 +16,7 @@
 git_server: tin.eqiad.wmnet
 
 [deployment-prep.eqiad.wmflabs]
+environment: beta
 git_server: deployment-tin.deployment-prep.eqiad.wmflabs
 server_groups: default
 dsh_targets: betacluster
diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index aecf81d..ff024e6 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -86,7 +86,7 @@
       # calculate trending for one hour
       trending_period: 3600
       # the number of edits needed to take a page into account
-      min_edits: 6
+      min_edits: <%= min_edits %>
       # the list of Kafka brokers to contact
       broker_list: <%= broker_list %>
       # the template used for contacting the MW API
diff --git a/scap/vars.yaml b/scap/vars.yaml
index 3249e6e..394d51f 100644
--- a/scap/vars.yaml
+++ b/scap/vars.yaml
@@ -9,6 +9,7 @@
 port: 6699
 proxy: 
 site: datacenter1
+min_edits: 6
 broker_list: localhost:9092
 mwapi_uri: http://localhost/w/api.php
 restbase_uri: http://localhost:7231

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3bd5e3e4bf87bfa98ad0d3493308de4875140a3a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/trending-edits/deploy
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>

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

Reply via email to