-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid catastrophic failure when an ES request times out
As of 0.20.6 ES it's possible for a bulk request to time out, which we unwrapped on like goofs. This commit removes that unwrap and fails the flush in the event of a timeout bubbling up. This resolves #353 and elastic-rs/elastic#286. Related to #355. Signed-off-by: Brian L. Troutwine <blt@postmates.com>
- Loading branch information
Brian L. Troutwine
committed
Dec 5, 2017
1 parent
d91c1fa
commit 32eab81
Showing
1 changed file
with
118 additions
and
106 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