Fix typo in 5936d43afb6ad5a75d9eed17eb39e8c00a08a684

This commit is contained in:
Marko Mäkelä 2018-10-12 13:51:37 +03:00
parent b7918a6d38
commit 0f178e7cae

View File

@ -4090,7 +4090,7 @@ static int init_common_variables()
tc_size * 2);
#if defined(HAVE_POOL_OF_THREADS) && !defined(__WIN__)
// add epoll or kevent fd for each threadpool group, in case pool of threads is used
wanted_file+= (thread_handling > SCHEDULER_NO_THREADS) ? 0 : threadpool_size;
wanted_files+= (thread_handling > SCHEDULER_NO_THREADS) ? 0 : threadpool_size;
#endif
/*
We are trying to allocate no less than max_connections*5 file