Skip to content

Conversation

@nreese
Copy link
Contributor

@nreese nreese commented Jun 6, 2018

fixes #17575

Set timeout for search requests made by timelion. Timeout set to value of elasticsearch.shardTimeout configuration

@nreese nreese requested review from ppisljar and timroes June 6, 2018 20:36
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

})
}
},
config: function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor nitpick: arrow functions instead of old syntax.

Copy link
Contributor

@timroes timroes left a comment

Choose a reason for hiding this comment

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

Code looks good to me, tests need fixing, minor nitpick about code style.

Checked that parameters match requires ES params, but didn't try it out (since I am not aware, if we have an easy way to simulate ES delays).

Copy link
Contributor

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

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

LGTM, when the tests pass

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@nreese nreese merged commit e38d1d9 into elastic:master Jun 12, 2018
nreese added a commit to nreese/kibana that referenced this pull request Jun 12, 2018
* set timeout for timelion search requests

* stub out server.config for mocha testing

* test timeout set

* arrow functions
nreese added a commit that referenced this pull request Jun 14, 2018
* set timeout for timelion search requests

* stub out server.config for mocha testing

* test timeout set

* arrow functions
maryia-lapata pushed a commit to maryia-lapata/kibana that referenced this pull request Jun 25, 2018
* set timeout for timelion search requests

* stub out server.config for mocha testing

* test timeout set

* arrow functions
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.

Timelion search requests should have a timeout

4 participants