@socket.io/postgres-adapter
Advanced tools
Changelog
0.4.0 (2024-07-17)
This release contains an important refactor of the adapter (this commit), as most of the logic has been moved in the ClusterAdapter
class of the socket.io-adapter
package.
Changelog
0.3.0 (2022-04-28)
This feature was added in socket.io@4.5.0
:
io.timeout(1000).emit("some-event", (err, responses) => {
// ...
});
Thanks to this change, it will now work with multiple Socket.IO servers.
The adapter will now create one single Postgres connection for all namespaces, instead of one per namespace, which could lead to performance issues.