Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Set varnish's first_byte_timeout to 60 seconds (which is really long …

…but it's not up to EC2 on Rails to enforce good performance within the Rails app).
  • Loading branch information...
commit 7f9e062c6c40ce6d271e93351cdcb00db6cc1afd 1 parent d26fa59
Paul Dowman authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  server/files/etc/varnish/default.vcl.erb
2  server/files/etc/varnish/default.vcl.erb
@@ -11,7 +11,7 @@ director director_1 round-robin {
11 11 .port = "<%= roles[:proxy] && roles[:proxy].include?(address) ? 81 : 80 %>";
12 12 .max_connections = 100;
13 13 .connect_timeout = 10s;
14   - .first_byte_timeout = 30s;
  14 + .first_byte_timeout = 60s;
15 15 .between_bytes_timeout = 10s;
16 16 }
17 17 }

0 comments on commit 7f9e062

Please sign in to comment.
Something went wrong with that request. Please try again.