Merge pull request #487 from tlhunter/master

Update README.md
This commit is contained in:
Spencer
2017-01-10 14:42:13 -07:00
committed by GitHub

View File

@ -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!');