Permalink
Browse files

Increase Nginx upstream timeouts from 1 minute to 10 minutes.

  • Loading branch information...
1 parent eaf2f63 commit adc1827d6252eef790a3dd8a59536806848a9a1d @FooBarWidget FooBarWidget committed Aug 28, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 ext/nginx/Configuration.c
@@ -278,13 +278,13 @@ passenger_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
prev->upstream.ignore_client_abort, 0);
ngx_conf_merge_msec_value(conf->upstream.connect_timeout,
- prev->upstream.connect_timeout, 60000);
+ prev->upstream.connect_timeout, 600000);
ngx_conf_merge_msec_value(conf->upstream.send_timeout,
- prev->upstream.send_timeout, 60000);
+ prev->upstream.send_timeout, 600000);
ngx_conf_merge_msec_value(conf->upstream.read_timeout,
- prev->upstream.read_timeout, 60000);
+ prev->upstream.read_timeout, 600000);
ngx_conf_merge_size_value(conf->upstream.send_lowat,
prev->upstream.send_lowat, 0);

0 comments on commit adc1827

Please sign in to comment.