Skip to content

Commit

Permalink
Fix todo
Browse files Browse the repository at this point in the history
Signed-off-by: Otto van der Schaaf <oschaaf@we-amp.com>
  • Loading branch information
oschaaf committed Sep 5, 2020
1 parent 228934a commit 00b6861
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/client/stream_decoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ void StreamDecoder::decodeHeaders(Envoy::Http::ResponseHeaderMapPtr&& headers, b
if (absl::SimpleAtoi(timing_value, &origin_delta) && origin_delta >= 0) {
origin_latency_statistic_.addValue(origin_delta);
} else {
// TODO(#484): avoid high frequency logging.
ENVOY_LOG(warn, "Bad origin delta: '{}'.", timing_value);
ENVOY_LOG_EVERY_POW_2(warn, "Bad origin delta: '{}'.", timing_value);
}
}
}
Expand Down

0 comments on commit 00b6861

Please sign in to comment.