Skip to content

Commit

Permalink
Merge pull request #234 from BoyanHH/master
Browse files Browse the repository at this point in the history
Issue 233 - Upstream stats don't reset.
  • Loading branch information
vozlt authored Sep 4, 2022
2 parents 192674c + 361967c commit 7e81230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ngx_http_vhost_traffic_status_node.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ ngx_http_vhost_traffic_status_node_zero(ngx_http_vhost_traffic_status_node_t *vt

vtsn->stat_request_time_counter = 0;
vtsn->stat_request_time = 0;
vtsn->stat_upstream.response_time_counter = 0;
vtsn->stat_upstream.response_time = 0;

vtsn->stat_request_counter_oc = 0;
vtsn->stat_in_bytes_oc = 0;
Expand Down

0 comments on commit 7e81230

Please sign in to comment.