Modules compatibility: slow start fields.

This commit is contained in:
Maxim Dounin 2016-09-29 18:06:00 +03:00
parent 07c914c0cb
commit f3ece60723
4 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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; */

View File

@ -54,6 +54,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;

View File

@ -35,6 +35,8 @@ struct ngx_stream_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; */