From 323b5d5f3555e102b6328a7120218fd39c385319 Mon Sep 17 00:00:00 2001 From: Igor Malinovskiy Date: Tue, 26 Mar 2024 11:01:32 +0100 Subject: [PATCH] Update docs/connect/clients/nodejs.md Co-authored-by: David Dougherty --- docs/connect/clients/nodejs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/connect/clients/nodejs.md b/docs/connect/clients/nodejs.md index 0e09c904a..82223d8ae 100644 --- a/docs/connect/clients/nodejs.md +++ b/docs/connect/clients/nodejs.md @@ -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.