-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Elasticsearch query timeout.
There's already Faraday or rack-timeout timeouts that will kick in and kill the web request, but slow-running Elasticsearch queries from the admin could run indefinitely inside Elasticsearch. This could compound performance problems, since the admin interface would timeout, but slow-running Elasticsearch queries could continue piling up in the background. We should make this timeout more configurable and try to better align the Faraday timeout and rack-timeout (which now I'm not sure is even working), but this is a quick fix to at least prevent background queries from piling up and impacting system performance.
- Loading branch information
Showing
4 changed files
with
12 additions
and
2 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
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
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