kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 4c35073232d91ae0e09f1e4f04de3b48bb7d89e4
parent b70d1ee80f8d00a1f8120c546a2d0507d3679b54
Author: Joris Vink <joris@coders.se>
Date:   Mon, 22 Oct 2018 21:27:17 +0200

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

Diffstat:
src/worker.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/worker.c b/src/worker.c @@ -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. */