-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Timeout is not respected #3129
Comments
yea, this is the current behavior, where the timeout applies to the query execution part, and it is the intended behavior. It does make sense to allow for timeouts to apply to other aspects, but it gets tricky in terms of definition since what will end up being returned in some of those cases is tricky to define. |
@kimchy true... But on the other hand, if I set a timeout of 3000ms for example, it just means I'm not willing to wait for more than that, and will timeout to the end client anyway. |
Closed in favour of #4586 |
On this issue #3128
if I add a timeout to the query(1ms, for example), the query instantly returns with no results, which is what I would expect.
But if the timeout is big enough(as to allow finding the document), then the query doesn't return at all,which is not what I would expect.
I guess this is the "desired" behavior, since the idea is to return whatever documents could be found before the timeout, and then highlight it and etc.
But if there are such cases where the highlighting is actually the "heavy" part of the query, doesn't it make sense to apply the timeout globally?
The text was updated successfully, but these errors were encountered: