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

Change subject: [Config] Lower the cache TTL for the trending endpoint
......................................................................


[Config] Lower the cache TTL for the trending endpoint

Change-Id: Ic16ecabe30868d07512ccf89b539c17a2b7a050b
---
M scap/templates/config.yaml.j2
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 9012345..bfea643 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -115,7 +115,7 @@
         <<: *default_options
         trending:
           host: <%= trendingedits_uri %>
-          cache_control: s-maxage=1800, max-age=1800
+          cache_control: s-maxage=300, max-age=60
 
 # A different project template, sharing configuration options.
 wikimedia.org: &wikimedia.org
@@ -195,4 +195,4 @@
       user_agent: <%= user_agent %>
       ui_name: RESTBase
       ui_url: https://www.mediawiki.org/wiki/RESTBase
-      ui_title: RESTBase docs
+      ui_title: RESTBase docs
\ No newline at end of file

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic16ecabe30868d07512ccf89b539c17a2b7a050b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/services/restbase/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: BearND <bsitzm...@wikimedia.org>
Gerrit-Reviewer: GWicke <gwi...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: Zoranzoki21 <dori.g...@orion.rs>

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

Reply via email to