mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
node: increase event handler queue size to 1000
Previously used value of 1 leads to deadlocks during tests shutdown.
This commit is contained in:
@@ -348,7 +348,7 @@ NAPI_METHOD(dcn_start_event_handler) {
|
|||||||
callback,
|
callback,
|
||||||
0,
|
0,
|
||||||
async_resource_name,
|
async_resource_name,
|
||||||
1,
|
1000, // max_queue_size
|
||||||
1,
|
1,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
@@ -3226,7 +3226,7 @@ NAPI_METHOD(dcn_accounts_start_event_handler) {
|
|||||||
callback,
|
callback,
|
||||||
0,
|
0,
|
||||||
async_resource_name,
|
async_resource_name,
|
||||||
1,
|
1000, // max_queue_size
|
||||||
1,
|
1,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
|||||||
Reference in New Issue
Block a user