Skip to content

Commit b74d5aa

Browse files
authored
remove unref as it degrades the performance.
1 parent 7b87371 commit b74d5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ function concatBuffer (parser, length) {
365365
counter++
366366
pos = 0
367367
if (interval === null) {
368-
interval = setInterval(decreaseBufferPool, 50).unref()
368+
interval = setInterval(decreaseBufferPool, 50)
369369
}
370370
}
371371
list[0].copy(bufferPool, pos, parser.offset, list[0].length)

0 commit comments

Comments
 (0)