Mark Bergsma has submitted this change and it was merged. Change subject: Maintain persistent connections on text cluster redirects ......................................................................
Maintain persistent connections on text cluster redirects Change-Id: I1791c94bcb2513a55d981df3759ee223bc29491a --- M manifests/role/cache.pp M templates/varnish/text-frontend.inc.vcl.erb 2 files changed, 3 insertions(+), 0 deletions(-) Approvals: Mark Bergsma: Looks good to me, approved jenkins-bot: Verified diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp index 89aa69e..5c9177c 100644 --- a/manifests/role/cache.pp +++ b/manifests/role/cache.pp @@ -527,6 +527,8 @@ include standard, nrpe + class { "varnish::packages": version => "3.0.3plus~rc1-wm13" } + varnish::setup_filesystem{ $storage_partitions: before => Varnish::Instance["text-backend"] } diff --git a/templates/varnish/text-frontend.inc.vcl.erb b/templates/varnish/text-frontend.inc.vcl.erb index 61738fd..cd8867d 100644 --- a/templates/varnish/text-frontend.inc.vcl.erb +++ b/templates/varnish/text-frontend.inc.vcl.erb @@ -62,6 +62,7 @@ if (obj.status == 666) { set obj.http.Location = req.http.Location; set obj.status = 302; + set obj.http.Connection = "keep-alive"; return(deliver); } -- To view, visit https://gerrit.wikimedia.org/r/73157 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1791c94bcb2513a55d981df3759ee223bc29491a 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