Skip to content

Commit

Permalink
fix:slave_prorority need to be 100 when used redis sentinel (OpenAtom…
Browse files Browse the repository at this point in the history
…Foundation#2813)

Co-authored-by: chejinge <[email protected]>
  • Loading branch information
chejinge and brother-jin committed Aug 1, 2024
1 parent 9c11f18 commit 2ee4a89
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 @@ -814,7 +814,7 @@ class PikaConf : public pstd::BaseConf {

private:
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 2ee4a89

Please sign in to comment.