Skip to content

Commit

Permalink
Merge pull request #24 from jjofseattle/master
Browse files Browse the repository at this point in the history
Remove unref as it degrades the performance.
  • Loading branch information
BridgeAR authored Nov 14, 2016
2 parents 7b87371 + b74d5aa commit f14a73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function concatBuffer (parser, length) {
counter++
pos = 0
if (interval === null) {
interval = setInterval(decreaseBufferPool, 50).unref()
interval = setInterval(decreaseBufferPool, 50)
}
}
list[0].copy(bufferPool, pos, parser.offset, list[0].length)
Expand Down

0 comments on commit f14a73b

Please sign in to comment.