From 1ded3a3844026b056a61e2a539ad0dc862689815 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Tue, 22 Sep 2020 09:03:47 +0800 Subject: [PATCH] small change --- src/idempotency/client/client_channel.c | 4 +--- src/idempotency/client/rpc_wrapper.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/idempotency/client/client_channel.c b/src/idempotency/client/client_channel.c index cf5ff03..abfd475 100644 --- a/src/idempotency/client/client_channel.c +++ b/src/idempotency/client/client_channel.c @@ -76,11 +76,9 @@ static int load_client_channel_config(IniFullContext *ini_ctx) void idempotency_client_channel_config_to_string_ex( char *output, const int size, const bool add_comma) { - snprintf(output, size, "idempotency enabled: %d, " - "channel_htable_capacity=%d, " + snprintf(output, size, "channel_htable_capacity=%d, " "channel_heartbeat_interval=%ds, " "channel_max_idle_time=%ds%s", - g_idempotency_client_cfg.enabled, g_idempotency_client_cfg.channel_htable_capacity, g_idempotency_client_cfg.channel_heartbeat_interval, g_idempotency_client_cfg.channel_max_idle_time, diff --git a/src/idempotency/client/rpc_wrapper.h b/src/idempotency/client/rpc_wrapper.h index dc5e01b..d4305d5 100644 --- a/src/idempotency/client/rpc_wrapper.h +++ b/src/idempotency/client/rpc_wrapper.h @@ -88,7 +88,6 @@ if (connection_params != NULL && connection_params->channel != \ old_channel) \ { /* master changed */ \ - sf_reset_net_retry_interval(&net_retry_ctx); \ continue; \ } \ \