From 3d037e53d6449a5dd8300be40727125c66e6e83d Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 2 Jul 2015 15:03:23 +0100 Subject: [PATCH] Possible inconsistencies I'm guessing that the exclamation mark and time are incorrect based on the statement above the code. --- docs/quick_start.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quick_start.asciidoc b/docs/quick_start.asciidoc index a83f09d7a..fd783b7e7 100644 --- a/docs/quick_start.asciidoc +++ b/docs/quick_start.asciidoc @@ -22,14 +22,14 @@ Almost all of the methods on the client accept two arguments: ==== Ping the cluster -.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. [source,js] ----------------- client.ping({ requestTimeout: 30000, // undocumented params are appended to the query string - hello: "elasticsearch!" + hello: "elasticsearch" }, function (error) { if (error) { console.error('elasticsearch cluster is down!');