-
Notifications
You must be signed in to change notification settings - Fork 106
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way to cancel a query after a while (timeout option) #572
Comments
This sounds like something that would need to be implemented in ArangoDB itself. Currently the API only provides a ttl (which is only relevant for the results after the query has executed): Implementing the API for managing queries would help by making it possible to cancel these queries using arangojs but I see no way to easily solve the timeout within arangojs itself. If you want an automatic timeout I'd suggest opening a new issue on the ArangoDB repo: https://github.com/arangodb/arangodb/issues |
See also #474 |
Hi @pluma, |
We already opened this: arangodb/arangodb#6146 |
I'm closing this since an issue on the ArangoDB repo exists for this and there's nothing else we can do in arangojs in the meantime. Feel free to reopen when the option is supported by ArangoDB. |
@pluma OK, thanks! |
When is the issue addressed on ArangoDB repo?. Do we have any ETA for the same? |
@Puneeth-Kadamba Please check the issue on the ArangoDB repo linked above. |
In our production environment, we want to prevent requests that are too long to run indefinitely. A timeout option would be very useful for stopping the execution of these queries. Since there is no option on ArangoDB, we have to cancel the query manually from aardvark.
Do you think it would be possible to add a timeout option, at query level, that would do this automatically?
Best,
Antoine
The text was updated successfully, but these errors were encountered: