Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle HTTP 408 (timeout); update docs
As Elasticsearch now returns HTTP Request Timeout (408) for certain requests (e.g. `ClusterHealth`), we need to handle these accordingly. We therefor introduce the `elastic.IsTimeout(err)` helper to check for timeouts. We also updated the documentation to be in line with the latest Elasticsearch 2.0 documentation (and fixed all links).
- Loading branch information
Showing
5 changed files
with
148 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,5 @@ _testmain.go | |
/cluster-test/es-chaos-monkey | ||
/spec | ||
/tmp | ||
/CHANGELOG-3.0.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.