Skip to content

Commit 0484bb2

Browse files
committed
--wip-- [skip ci]
1 parent bf647bd commit 0484bb2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export default class RedisCommandsQueue {
121121
//TODO: we can shave off a few cycles by not adding onPush handler at all if CSC is not used
122122
onPush: push => {
123123
if (!this.#onPush(push)) {
124+
console.log('Push received', push.toString());
124125
// currently only supporting "invalidate" over RESP3 push messages
125126
switch (push[0].toString()) {
126127
case "invalidate": {

packages/client/lib/client/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ export default class RedisClient<
729729

730730
return new RedisSocket(socketInitiator, options?.socket)
731731
.on('data', chunk => {
732-
console.log('Data received', chunk);
732+
console.log('Data received', chunk.toString());
733733
try {
734734
this.#queue.decoder.write(chunk);
735735
} catch (err) {

0 commit comments

Comments
 (0)