mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 05:56:31 +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,
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user