Skip to content

Commit

Permalink
Improve maximum configurable thread pool thread size from 24 to 100 (O…
Browse files Browse the repository at this point in the history
  • Loading branch information
whoiami committed May 21, 2020
1 parent f68fa7e commit 14ab382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pika_conf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ int PikaConf::Load()
if (thread_pool_size_ <= 0) {
thread_pool_size_ = 12;
}
if (thread_pool_size_ > 24) {
thread_pool_size_ = 24;
if (thread_pool_size_ > 100) {
thread_pool_size_ = 100;
}
GetConfInt("sync-thread-num", &sync_thread_num_);
if (sync_thread_num_ <= 0) {
Expand Down

0 comments on commit 14ab382

Please sign in to comment.