From 1623d5293c9b00bda7286acd869cb160155bfa45 Mon Sep 17 00:00:00 2001 From: Gregory Burd Date: Tue, 30 Jul 2013 13:30:43 -0400 Subject: [PATCH] Increase the max queue size. --- c_src/async_nif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_src/async_nif.h b/c_src/async_nif.h index 89c758a..5694c3a 100644 --- a/c_src/async_nif.h +++ b/c_src/async_nif.h @@ -34,7 +34,7 @@ extern "C" { #define ASYNC_NIF_MAX_WORKERS 1024 #define ASYNC_NIF_MIN_WORKERS 2 -#define ASYNC_NIF_WORKER_QUEUE_SIZE 100 +#define ASYNC_NIF_WORKER_QUEUE_SIZE 4096 #define ASYNC_NIF_MAX_QUEUED_REQS ASYNC_NIF_WORKER_QUEUE_SIZE * ASYNC_NIF_MAX_WORKERS struct async_nif_req_entry {