From a77eb34fbaeb4fbaa5e312e50d14d6cfd8bb8612 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sat, 21 Mar 2020 17:27:30 +0000 Subject: [PATCH] Spawn as many workers as there are CPU cores --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 906ddc0..e0c950b 100644 --- a/src/server.c +++ b/src/server.c @@ -736,7 +736,7 @@ accept_failure: EXPORT struct nvnc* nvnc_open(const char* address, uint16_t port) { - aml_require_workers(aml_get_default(), 4); + aml_require_workers(aml_get_default(), -1); struct nvnc* self = calloc(1, sizeof(*self)); if (!self)