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
1 changed files with 1 additions and 1 deletions

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. */