Damien Arrachequesne 0e23ff0cc6 fix(cluster): notify the other nodes when closing
The clustered adapter will now:

- periodically check if a node has left the cluster
- send an event when it leaves the cluster

This should reduce the number of "timeout reached: only x responses
received out of y" errors.
2024-02-20 16:12:47 +01:00
2020-09-25 23:01:42 +02:00
2023-01-12 08:09:40 +01:00
2015-04-02 14:55:54 -07:00
2020-10-20 14:22:57 +02:00
2020-09-25 23:01:42 +02:00

socket.io-adapter

Default socket.io in-memory adapter class.

Compatibility table:

Adapter version Socket.IO server version
1.x.x 1.x.x / 2.x.x
2.x.x 3.x.x

How to use

This module is not intended for end-user usage, but can be used as an interface to inherit from other adapters you might want to build.

As an example of an adapter that builds on top of this, please take a look at socket.io-redis.

License

MIT

Description
No description provided
Readme MIT 42 MiB
Languages
TypeScript 64.1%
JavaScript 35.8%