From fa54e8a8ac3faf8aa79995f297d1af17099f615f Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 13 Jun 2022 19:28:49 +0000 Subject: [PATCH] node: increase event handler queue size to 1000 Previously used value of 1 leads to deadlocks during tests shutdown. --- node/src/module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/module.c b/node/src/module.c index b1ff9cca2..bf941ab9f 100644 --- a/node/src/module.c +++ b/node/src/module.c @@ -348,7 +348,7 @@ NAPI_METHOD(dcn_start_event_handler) { callback, 0, async_resource_name, - 1, + 1000, // max_queue_size 1, NULL, NULL, @@ -3226,7 +3226,7 @@ NAPI_METHOD(dcn_accounts_start_event_handler) { callback, 0, async_resource_name, - 1, + 1000, // max_queue_size 1, NULL, NULL,