Skip to content

Commit

Permalink
fix #1047 (#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghenshui authored Apr 26, 2023
1 parent aa5e75b commit fea883f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pika_conf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ int PikaConf::Load() {
if (thread_num_ <= 0) {
thread_num_ = 12;
}
if (thread_num_ > 24) {
thread_num_ = 24;
}

GetConfInt("thread-pool-size", &thread_pool_size_);
if (thread_pool_size_ <= 0) {
thread_pool_size_ = 12;
Expand Down

0 comments on commit fea883f

Please sign in to comment.