Spam cleanup

pull/9511/head
Craig Tiller 8 years ago
parent ff1f160a26
commit c5235d7832
  1. 11
      src/core/ext/transport/chttp2/transport/chttp2_transport.c

@ -1921,9 +1921,6 @@ static void read_action_locked(grpc_exec_ctx *exec_ctx, void *tp,
} }
double log2_bdp_guess = double log2_bdp_guess =
grpc_pid_controller_update(&t->pid_controller, bdp_error, dt); grpc_pid_controller_update(&t->pid_controller, bdp_error, dt);
gpr_log(GPR_DEBUG, "%s: err=%lf cur=%lf pressure=%lf target=%lf",
t->peer_string, bdp_error, log2_bdp_guess, memory_pressure,
target);
update_bdp(exec_ctx, t, pow(2, log2_bdp_guess)); update_bdp(exec_ctx, t, pow(2, log2_bdp_guess));
t->last_pid_update = now; t->last_pid_update = now;
} }
@ -1942,14 +1939,18 @@ static void read_action_locked(grpc_exec_ctx *exec_ctx, void *tp,
static void start_bdp_ping_locked(grpc_exec_ctx *exec_ctx, void *tp, static void start_bdp_ping_locked(grpc_exec_ctx *exec_ctx, void *tp,
grpc_error *error) { grpc_error *error) {
grpc_chttp2_transport *t = tp; grpc_chttp2_transport *t = tp;
gpr_log(GPR_DEBUG, "%s: Start BDP ping", t->peer_string); if (grpc_http_trace) {
gpr_log(GPR_DEBUG, "%s: Start BDP ping", t->peer_string);
}
grpc_bdp_estimator_start_ping(&t->bdp_estimator); grpc_bdp_estimator_start_ping(&t->bdp_estimator);
} }
static void finish_bdp_ping_locked(grpc_exec_ctx *exec_ctx, void *tp, static void finish_bdp_ping_locked(grpc_exec_ctx *exec_ctx, void *tp,
grpc_error *error) { grpc_error *error) {
grpc_chttp2_transport *t = tp; grpc_chttp2_transport *t = tp;
gpr_log(GPR_DEBUG, "%s: Complete BDP ping", t->peer_string); if (grpc_http_trace) {
gpr_log(GPR_DEBUG, "%s: Complete BDP ping", t->peer_string);
}
grpc_bdp_estimator_complete_ping(&t->bdp_estimator); grpc_bdp_estimator_complete_ping(&t->bdp_estimator);
t->last_bdp_ping_finished = gpr_now(GPR_CLOCK_MONOTONIC); t->last_bdp_ping_finished = gpr_now(GPR_CLOCK_MONOTONIC);

Loading…
Cancel
Save