Mark Bergsma has submitted this change and it was merged. Change subject: ttl needs explicit time spec ......................................................................
ttl needs explicit time spec Change-Id: Ie0bf9994b98351b72e2bb59c43526064f14bc62a --- M templates/varnish/mobile-frontend.inc.vcl.erb 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Mark Bergsma: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb b/templates/varnish/mobile-frontend.inc.vcl.erb index f5933db..45e4601 100644 --- a/templates/varnish/mobile-frontend.inc.vcl.erb +++ b/templates/varnish/mobile-frontend.inc.vcl.erb @@ -617,8 +617,8 @@ sub vcl_fetch { /* Cap the cache TTL to 300s on frontends */ - if (beresp.ttl > 300) { - set beresp.ttl = 300; + if (beresp.ttl > 300s) { + set beresp.ttl = 300s; } set beresp.http.X-Device = req.http.X-Device; -- To view, visit https://gerrit.wikimedia.org/r/55552 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie0bf9994b98351b72e2bb59c43526064f14bc62a Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Mark Bergsma <m...@wikimedia.org> Gerrit-Reviewer: Mark Bergsma <m...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits