1
0
mirror of https://git.kore.io/kore.git synced 2024-11-18 07:57:04 +01:00

Use number of cpu cores if no worker count is set.

This commit is contained in:
Joris Vink 2018-10-22 21:27:17 +02:00
parent b70d1ee80f
commit 4c35073232

View File

@ -103,7 +103,7 @@ kore_worker_init(void)
worker_no_lock = 0;
if (worker_count == 0)
worker_count = 1;
worker_count = cpu_count;
#if !defined(KORE_NO_TLS)
/* account for the key manager. */