Skip to content

server side socket.data properties are cloned? #4935

Answered by darrachequesne
nedgrady asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I see two possible explanations:

  • you have multiple Socket.IO servers, then in that case io.fetchSockets() returns all the connections in the cluster
  • you use the admin UI, which tracks every change to the data attribute

Could you please check?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nedgrady
Comment options

@darrachequesne
Comment options

@nedgrady
Comment options

@darrachequesne
Comment options

Answer selected by nedgrady
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants