Skip to content

Commit

Permalink
Update docs/connect/clients/nodejs.md
Browse files Browse the repository at this point in the history
Co-authored-by: David Dougherty <[email protected]>
  • Loading branch information
uglide and dwdougherty authored Mar 26, 2024
1 parent 929374a commit 323b5d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/connect/clients/nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ client.on('error', error => {
});
```
In the provided reconnection strategy callback, the client attempts to reconnect up to 20 times with a delay of `retries * 500` milliseconds between attempts.
After approximately 2 minutes, the client logs an error message and terminates the connection if the maximum retry limit is exceeded.
After approximately two minutes, the client logs an error message and terminates the connection if the maximum retry limit is exceeded.


2. Use a numerical value to set a fixed delay in milliseconds.
3. Use `false` to disable reconnection attempts. This option should only be used for testing purposes.
Expand Down

0 comments on commit 323b5d5

Please sign in to comment.