From b584edcb6e04becb161fc2005b966ca85733dc49 Mon Sep 17 00:00:00 2001 From: Thomas Hunter II Date: Wed, 4 Jan 2017 13:35:34 -0800 Subject: [PATCH] Update README.md Fixing documentation/code mismatch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3648a8a3b..a6fcc0f35 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Send a HEAD request to `/` and allow up to 1 second for it to complete. ```js client.ping({ // ping usually has a 3000ms timeout - requestTimeout: Infinity + requestTimeout: 1000 }, function (error) { if (error) { console.trace('elasticsearch cluster is down!');