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...
1 parent d26fa59 commit 7f9e062c6c40ce6d271e93351cdcb00db6cc1afd @pauldowman committed Oct 29, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/files/etc/varnish/default.vcl.erb
View
2 server/files/etc/varnish/default.vcl.erb
@@ -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;
}
}

0 comments on commit 7f9e062

Please sign in to comment.