Skip to content

Configurable timeouts#1799

Merged
rashidkpc merged 7 commits intoelastic:masterfrom
rashidkpc:feature/request-timeout
Nov 5, 2014
Merged

Configurable timeouts#1799
rashidkpc merged 7 commits intoelastic:masterfrom
rashidkpc:feature/request-timeout

Conversation

@rashidkpc
Copy link
Copy Markdown
Contributor

Closes #411

Creates 2 configurable timeouts:

  • shard_timeout Applies to searches (eg _msearch, _search) (shard_timeout). This will allow elasticsearch to give up gracefully when results take too long to load, and drop a warning message in the UI.
  • request_timeout Applies to any request to elasticsearch, should always be higher than shard_timeout. If we hit this timeout we fatal because something is very wrong :-)

Both of these are configurable in kibana.yml

@rashidkpc
Copy link
Copy Markdown
Contributor Author

Note, this is useful, but less so, without #1780

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the puts right here (I'm guessing this is left over from debugging)

@rashidkpc rashidkpc removed the review label Nov 4, 2014
@simianhacker
Copy link
Copy Markdown
Member

LGTM

rashidkpc added a commit that referenced this pull request Nov 5, 2014
@rashidkpc rashidkpc merged commit 804a25c into elastic:master Nov 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configurable search timeouts

2 participants