Spawn as many workers as there are CPU cores

pull/24/head
Andri Yngvason 2020-03-21 17:27:30 +00:00
parent 9bf961992b
commit a77eb34fba
1 changed files with 1 additions and 1 deletions

View File

@ -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)