Skip to content

Commit

Permalink
fix:slave_prorority need to be 100 when used redis sentinel (#2813)
Browse files Browse the repository at this point in the history
Co-authored-by: chejinge <[email protected]>
  • Loading branch information
chejinge and brother-jin authored Jul 26, 2024
1 parent a428088 commit 737f63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pika_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ class PikaConf : public pstd::BaseConf {
private:
// TODO: replace mutex with atomic value
int port_ = 0;
int slave_priority_ = 0;
int slave_priority_ = 100;
int thread_num_ = 0;
int thread_pool_size_ = 0;
int slow_cmd_thread_pool_size_ = 0;
Expand Down

0 comments on commit 737f63b

Please sign in to comment.