GWicke has uploaded a new change for review.

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


Change subject: Increase Parsoid backend timeout to 5 minutes
......................................................................

Increase Parsoid backend timeout to 5 minutes

Some huge pages take longer than that, and we'd like to get them in cache.

Change-Id: I118125171676a38647ceb1c2d627afbec62cad21
---
M templates/varnish/parsoid-backend.inc.vcl.erb
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/81/72681/1

diff --git a/templates/varnish/parsoid-backend.inc.vcl.erb 
b/templates/varnish/parsoid-backend.inc.vcl.erb
index 161f91e..88f3d98 100644
--- a/templates/varnish/parsoid-backend.inc.vcl.erb
+++ b/templates/varnish/parsoid-backend.inc.vcl.erb
@@ -7,4 +7,5 @@
        if (req.http.Cache-Control ~ "only-if-cached") {
                error 412 "Entity not in cache";
        }
+       set bereq.first_byte_timeout = 5m;
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I118125171676a38647ceb1c2d627afbec62cad21
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to