Skip to content

Commit 76c13f2

Browse files
committed
Fix stuck queries on non busy connections
1 parent a39dfef commit 76c13f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
293293
if (incomings) {
294294
incomings.push(x)
295295
remaining -= x.length
296-
if (remaining >= 0)
296+
if (remaining > 0)
297297
return
298298
}
299299

0 commit comments

Comments
 (0)