Skip to content

v0.1.0

Compare
Choose a tag to compare
@aricart aricart released this 20 Mar 22:22
· 45 commits to master since this release
00b7fd5

This release introduces client-side pings to help keep track of streaming server connections. The feature introduces 2 new connection options:

  • pingInterval which controls the number of milliseconds between client pings to the server (default is 5000 milliseconds)
  • maxPingOut the number of unanswered ping requests before the connection_lost event is emitted on the client notifying that the connection from the server was lost.

You can read more about it here: https://github.com/nats-io/node-nats-streaming#connection-status.

Note that this release makes one change to client connection options. By default, NATS connections that are created by the library will set maxReconnectAttempts to infinite.