Skip to content

Commit b5e87fa

Browse files
committed
Enhancing types.
1 parent 7f1eb0f commit b5e87fa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-execution-context",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"description": "Provides execution context wrapper for node JS, can be used to create execution wrapper for handling requests and more",
55
"author": "Oded Goldglas <[email protected]>",
66
"license": "ISC",

src/hooks/constants.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
/**
22
* The excluded async process from our context map.
33
* Connections async processes tend not to be destroyed, which potentially will cause memory leak issues.
4-
* We can skip those types assuming the execution context won't be used for process types.
4+
* We can skip those types assuming the execution context won't be used for these process types.
55
* @type {Set<String>}
66
*/
77
exports.EXCLUDED_ASYNC_TYPES = new Set([
88
'DNSCHANNEL',
99
'TLSWRAP',
1010
'TCPWRAP',
1111
'HTTPPARSER',
12-
'ZLIB'
12+
'ZLIB',
13+
'UDPSENDWRAP',
14+
'UDPWRAP'
1315
]);

0 commit comments

Comments
 (0)