We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c3ce2a + 3d037e5 commit cfe5ef4Copy full SHA for cfe5ef4
docs/quick_start.asciidoc
@@ -22,14 +22,14 @@ Almost all of the methods on the client accept two arguments:
22
23
==== Ping the cluster
24
25
-.Send a HEAD request to "/?hello=elasticsearch" and allow up to 1 second for it to complete.
+.Send a HEAD request to "/?hello=elasticsearch" and allow up to 30 seconds for it to complete.
26
[source,js]
27
-----------------
28
client.ping({
29
requestTimeout: 30000,
30
31
// undocumented params are appended to the query string
32
- hello: "elasticsearch!"
+ hello: "elasticsearch"
33
}, function (error) {
34
if (error) {
35
console.error('elasticsearch cluster is down!');
0 commit comments