Skip to content

0.2.0

Compare
Choose a tag to compare
@darrachequesne darrachequesne released this 27 Apr 00:25
· 31 commits to main since this release
d42bf39

Features

  • add an option to use a TTL index (#4) (7fdbb25)

The addCreatedAtField option allows to use a TTL index instead of a capped collection, which is slightly less efficient but more predictable.

  • broadcast and expect multiple acks (e87a0ce)

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.

  • use a single stream for all namespaces (9b5f4c8)

The adapter will now create one single MongoDB stream for all namespaces, instead of one per namespace, which could lead to performance issues.

Links