Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 with 1 addition and 1 deletion.
  1. +1 −1  server/files/etc/varnish/default.vcl.erb
2  server/files/etc/varnish/default.vcl.erb
View
@@ -11,7 +11,7 @@ director director_1 round-robin {
.port = "<%= roles[:proxy] && roles[:proxy].include?(address) ? 81 : 80 %>";
.max_connections = 100;
.connect_timeout = 10s;
- .first_byte_timeout = 30s;
+ .first_byte_timeout = 60s;
.between_bytes_timeout = 10s;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.