GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/274799

Change subject: RESTBase: Increase purged cache TTL to 12 hours
......................................................................

RESTBase: Increase purged cache TTL to 12 hours

Tests after the deploy of 274769 indicate that purging is now working
well for titles with special characters. This means that we can start to
gradually increase the cache TTL from the very conservative 1h towards more
reasonable values for cached entry points.

To be on the safe side, this patch bumps the TTLs to 12 hours. This should be
long enough to surface purging issues (if there are any left), but is also
still short enough to let us react in a reasonable time window.

Change-Id: Ie0382b70bb0d43947cf79a91e157968a6f495908
---
M modules/restbase/templates/config.yaml.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/99/274799/1

diff --git a/modules/restbase/templates/config.yaml.erb 
b/modules/restbase/templates/config.yaml.erb
index 09558a9..b1d94e8 100644
--- a/modules/restbase/templates/config.yaml.erb
+++ b/modules/restbase/templates/config.yaml.erb
@@ -59,7 +59,7 @@
             host: <%= @purge_host %>
             port: <%= @purge_port %>
         # Cache headers for purged end points.
-        purged_cache_control: s-maxage=3600, max-age=3600
+        purged_cache_control: s-maxage=43200, max-age=43200
 
 # A different project template, sharing configuration options.
 wikimedia.org: &wikimedia.org

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0382b70bb0d43947cf79a91e157968a6f495908
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <gwi...@wikimedia.org>

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

Reply via email to