Updated README.md

Just changed the default socket timeout value to be in-line with the new default in ab4436d
This commit is contained in:
xcpep 2018-11-11 12:33:45 +00:00 committed by GitHub
parent 0f1deb03da
commit 1ca0a74939
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ function(e,state) {
* **notes**: (optional) An object passed through in the return value.
* **maxAttempts**: (optional) Number of attempts to query server in case of failure. (default 1)
* **socketTimeout**: (optional) Milliseconds to wait for a single packet. Beware that increasing this
will cause many queries to take longer even if the server is online. (default 1000)
will cause many queries to take longer even if the server is online. (default 2000)
* **attemptTimeout**: (optional) Milliseconds allowed for an entire query attempt. This timeout is not commonly hit,
as the socketTimeout typically fires first. (default 10000)
@ -448,4 +448,4 @@ Major Version Changes
### 1.0
* First official release
* Node.js 6.0 is now required
* Node.js 6.0 is now required