Skip to content

Commit

Permalink
change option max value
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Sadokhov committed Aug 22, 2023
1 parent 8a7f6d6 commit f2e2598
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/thread-pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ void ThreadPool::init() noexcept {
}
}

uint64_t thread_pool_size = 0;
int thread_pool_size = 0;
2 changes: 1 addition & 1 deletion runtime/thread-pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ class ThreadPool : vk::not_copyable {
BS::thread_pool * thread_pool_ptr{nullptr};
};

extern uint64_t thread_pool_size;
extern int thread_pool_size;
2 changes: 1 addition & 1 deletion server/php-engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2196,7 +2196,7 @@ int main_args_handler(int i, const char *long_option) {
return res;
}
case 2036: {
return read_option_to(long_option, 0UL, UINT64_MAX, thread_pool_size);
return read_option_to(long_option, 0, 2048, thread_pool_size);
}
default:
return -1;
Expand Down

0 comments on commit f2e2598

Please sign in to comment.