Skip to content

Commit e307d1f

Browse files
committed
fix returnStringsAsBuffers
1 parent 57bd86e commit e307d1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/client/lib/client/commands-queue.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ export default class RedisCommandsQueue {
108108

109109
#decoder = new RESP2Decoder({
110110
returnStringsAsBuffers: () => {
111-
return !!this.#waitingForReply.head?.value.returnBuffers || !!this.#pubSubState;
111+
return !!this.#waitingForReply.head?.value.returnBuffers ||
112+
this.#pubSubState.isActive;
112113
},
113114
onReply: reply => {
114115
if (this.#handlePubSubReply(reply)) {

0 commit comments

Comments
 (0)