Skip to content

Conversation

@nkaradzhov
Copy link
Collaborator

Description

Describe your pull request here


Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

smigrating notification should effect in increased command and socket
timeout for the given connection
Buffer.equals() was failing when reply[0] was a string instead of
a Buffer, causing hangs on push notifications. Now converts strings
to Buffers before comparison in PubSub and commands-queue handlers.

Changes:
 - PubSub.isStatusReply: convert reply[0] to Buffer if string
 - PubSub.isShardedUnsubscribe: convert reply[0] to Buffer if string
 - PubSub.handleMessageReply: convert reply[0] to Buffer if string
 - commands-queue PONG handler: convert reply[0] to Buffer if string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant