Skip to content

Commit

Permalink
change max_fails default value: 2
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokai-wang committed Nov 30, 2015
1 parent c9de545 commit af92e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_dynamic_update_upstream_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ ngx_http_dynamic_update_upstream_parse_json(u_char *buf,
ngx_http_dynamic_update_upstream_server_t *conf_server)
{
u_char *p;
ngx_int_t max_fails=0, backup=0, down=0;
ngx_int_t max_fails=2, backup=0, down=0;
ngx_str_t src, dst;
ngx_http_update_conf_t *upstream_conf=NULL;
ngx_http_dynamic_update_upstream_ctx_t *ctx;
Expand Down

0 comments on commit af92e86

Please sign in to comment.