Skip to content

Commit d1fc1f0

Browse files
committed
--wip-- [skip ci]
1 parent 24053ce commit d1fc1f0

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
@@ -710,7 +710,7 @@ export default class RedisClient<
710710

711711
return new RedisSocket(socketInitiator, options?.socket)
712712
.on('data', chunk => {
713-
console.log('Data received', chunk);
713+
console.log('Data received', chunk.toString());
714714
try {
715715
this.#queue.decoder.write(chunk);
716716
} catch (err) {

0 commit comments

Comments
 (0)