BBlack has submitted this change and it was merged.
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(-)
Approvals:
Ppchelko: Looks good to me, but someone else must approve
BBlack: Verified; Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Ie0382b70bb0d43947cf79a91e157968a6f495908
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Eevans <[email protected]>
Gerrit-Reviewer: Mholloway <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: Ppchelko <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits