diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-09-29 18:06:00 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-09-29 18:06:00 +0300 |
| commit | f3ece607233776ed164f1004d682787d16a5c699 (patch) | |
| tree | f6f3c480494912b087c5abf3052fe63ed78a6cfe /src/http | |
| parent | 07c914c0cbca39816cd824f64638ebd85cfc1c49 (diff) | |
| download | nginx-f3ece607233776ed164f1004d682787d16a5c699.tar.gz nginx-f3ece607233776ed164f1004d682787d16a5c699.tar.bz2 | |
Modules compatibility: slow start fields.
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/ngx_http_upstream.h | 1 | ||||
| -rw-r--r-- | src/http/ngx_http_upstream_round_robin.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h index d5246d117..315f85661 100644 --- a/src/http/ngx_http_upstream.h +++ b/src/http/ngx_http_upstream.h @@ -98,6 +98,7 @@ typedef struct { ngx_uint_t max_conns; ngx_uint_t max_fails; time_t fail_timeout; + ngx_msec_t slow_start; unsigned down:1; unsigned backup:1; diff --git a/src/http/ngx_http_upstream_round_robin.h b/src/http/ngx_http_upstream_round_robin.h index 634fe539e..d0f163197 100644 --- a/src/http/ngx_http_upstream_round_robin.h +++ b/src/http/ngx_http_upstream_round_robin.h @@ -35,6 +35,8 @@ struct ngx_http_upstream_rr_peer_s { ngx_uint_t max_fails; time_t fail_timeout; + ngx_msec_t slow_start; + ngx_msec_t start_time; ngx_uint_t down; /* unsigned down:1; */ |
