refactor: use the ClusterAdapter class from socket.io-adapter package
The ClusterAdapter class has been moved to [1], so that this adapter only needs to implement to pub/sub mechanism. Also, [2] should reduce the number of "timeout reached: only x responses received out of y" errors, since the fetchSockets() requests will now succeed even if a server leaves the cluster. [1]: https://github.com/socketio/socket.io/tree/main/packages/socket.io-adapter [2]: https://github.com/socketio/socket.io/commit/0e23ff0cc671e3186510f7cfb8a4c1147457296f
D
Damien Arrachequesne committed
0c431243e28913fdd2a4a3de3e67a9f38d67a3aa
Parent: 4fc25d8