Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Cancel query if given detector already has one running #55

Closed
zhanghg08 opened this issue Mar 5, 2020 · 0 comments
Closed

Cancel query if given detector already has one running #55

zhanghg08 opened this issue Mar 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@zhanghg08
Copy link
Contributor

In order to release ES resources, we will use cancel long running es query. Each detector will only have one query running. Once a new request coming to given detector, if it already has one query based on negative cache, it will cancel the previous one by task management api and then accept this request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants