Commit f4e8790c authored by Mike Perry's avatar Mike Perry
Browse files

fixup! Fix for RTT calculation hang during congestion control.

Protocol warn.
parent 5a18fcae
Pipeline #41658 passed with stage
in 16 minutes and 31 seconds
......@@ -772,9 +772,9 @@ time_delta_stalled_or_jumped(const congestion_control_t *cc,
*/
if (new_delta > old_delta * DELTA_DISCREPENCY_RATIO_MAX) {
static ratelim_t dec_notice_limit = RATELIM_INIT(300);
log_fn_ratelim(&dec_notice_limit, LOG_NOTICE, LD_CIRC,
log_fn_ratelim(&dec_notice_limit, LOG_PROTOCOL_WARN, LD_CIRC,
"Sudden increase in circuit RTT (%"PRIu64" vs %"PRIu64
"), likely due to clock jump.",
"), likely due to clock jump or suspended remote endpoint.",
new_delta/1000, old_delta/1000);
return true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment