Skip to content

Commit

Permalink
set raft_use_conn_pool default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
lintanghui committed Feb 18, 2025
1 parent 21b47a9 commit 727d213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/braft/replicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ DEFINE_int32(raft_retry_replicate_interval_ms, 1000,
"Interval of retry to append entries or install snapshot");
BRPC_VALIDATE_GFLAG(raft_retry_replicate_interval_ms,
brpc::PositiveInteger);
DEFINE_bool(raft_use_conn_pool, true, "use conn pool for raft replicator");
DEFINE_bool(raft_use_conn_pool, false, "use conn pool for raft replicator");
BRPC_VALIDATE_GFLAG(raft_use_conn_pool, ::brpc::PassValidate);

DECLARE_bool(raft_enable_witness_to_leader);
Expand Down

0 comments on commit 727d213

Please sign in to comment.