Open steveyout opened 3 years ago
@steveyout Thanks for posting! We'll take a look as soon as possible.
In the mean time, there are a few ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.
For help with questions about Sails, click here.
Hi @steveyout, have you tried using the documented .reconnect()
? https://sailsjs.com/documentation/reference/web-sockets/socket-client/sails-socket/methods#?reconnect
Node version: Sails version (1.3.0): ORM hook version (sails-hook-orm): Sockets hook version (2.0.0): Organics hook version (sails-hook-organics): Grunt hook version (sails-hook-grunt): Uploads hook version (sails-hook-uploads): DB adapter & version (e.g. sails-mysql@5.55.5): Skipper adapter & version (e.g. skipper-s3@5.55.5):
i was able to found a way to reconnect io sockets using
io.socket._raw.io._reconnection=true
while this works fine,on reconnecting all pending sockets are resumed.i want to close all pending sockets on reconnection How do i close all pending io connections on reconnecting??