You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the humio docs - polling is a single request that returns partial results from a query job.
The current behavior of the StaticQueryJob's poll is actually to continually poll until it receives the done message which is only actually sent when the job is completed. This causes issues since a request will take much longer than the actual timeout passed to this function.
that being said, the link that the client uses here is not what the API docs suggest (/dataspaces/{REPO} vs /repositories/{REPO}) which makes me think we might be using a legacy API, here?
Expected behavior poll() should only make a request once. This method should actually be renamed to poll_until_completed or something
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the humio docs - polling is a single request that returns partial results from a query job.
The current behavior of the StaticQueryJob's
poll
is actually to continually poll until it receives thedone
message which is only actually sent when the job is completed. This causes issues since a request will take much longer than the actualtimeout
passed to this function.that being said, the link that the client uses here is not what the API docs suggest (
/dataspaces/{REPO}
vs/repositories/{REPO}
) which makes me think we might be using a legacy API, here?Expected behavior
poll()
should only make a request once. This method should actually be renamed topoll_until_completed
or somethingThe text was updated successfully, but these errors were encountered: