small change
parent
ea5b25a56a
commit
1ded3a3844
|
|
@ -76,11 +76,9 @@ static int load_client_channel_config(IniFullContext *ini_ctx)
|
||||||
void idempotency_client_channel_config_to_string_ex(
|
void idempotency_client_channel_config_to_string_ex(
|
||||||
char *output, const int size, const bool add_comma)
|
char *output, const int size, const bool add_comma)
|
||||||
{
|
{
|
||||||
snprintf(output, size, "idempotency enabled: %d, "
|
snprintf(output, size, "channel_htable_capacity=%d, "
|
||||||
"channel_htable_capacity=%d, "
|
|
||||||
"channel_heartbeat_interval=%ds, "
|
"channel_heartbeat_interval=%ds, "
|
||||||
"channel_max_idle_time=%ds%s",
|
"channel_max_idle_time=%ds%s",
|
||||||
g_idempotency_client_cfg.enabled,
|
|
||||||
g_idempotency_client_cfg.channel_htable_capacity,
|
g_idempotency_client_cfg.channel_htable_capacity,
|
||||||
g_idempotency_client_cfg.channel_heartbeat_interval,
|
g_idempotency_client_cfg.channel_heartbeat_interval,
|
||||||
g_idempotency_client_cfg.channel_max_idle_time,
|
g_idempotency_client_cfg.channel_max_idle_time,
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,6 @@
|
||||||
if (connection_params != NULL && connection_params->channel != \
|
if (connection_params != NULL && connection_params->channel != \
|
||||||
old_channel) \
|
old_channel) \
|
||||||
{ /* master changed */ \
|
{ /* master changed */ \
|
||||||
sf_reset_net_retry_interval(&net_retry_ctx); \
|
|
||||||
continue; \
|
continue; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue