Skip to content

Commit

Permalink
use SetConfStr instead of SetConfInt for log-net-activities
Browse files Browse the repository at this point in the history
  • Loading branch information
cheniujh committed Dec 16, 2024
1 parent 3369ef2 commit 937616b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika_conf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ int PikaConf::ConfigRewrite() {
SetConfInt("slowlog-max-len", slowlog_max_len_);
SetConfInt("log-retention-time", log_retention_time_);
SetConfInt("slave-priority", slave_priority_);
SetConfInt("log-net-activities", log_net_activities_);
SetConfStr("log-net-activities", log_net_activities_ ? "yes" : "no");
SetConfStr("write-binlog", write_binlog_ ? "yes" : "no");
SetConfStr("run-id", run_id_);
SetConfStr("replication-id", replication_id_);
Expand Down

0 comments on commit 937616b

Please sign in to comment.