Mark Bergsma has uploaded a new change for review.
https://gerrit.wikimedia.org/r/73157
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/57/73157/1
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: newchange
Gerrit-Change-Id: I1791c94bcb2513a55d981df3759ee223bc29491a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits