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
We are observing some issues with POST requests that get stuck.
It would be nice if we could also use the query timeout on the python request POST request in order to make the request client raise an exception on the connection if it does not complete within X seconds.
For example:
r = self.client.post(
url,
data=params, timeout=timeout/1000, # in seconds
headers={"Accept": content_type},
)
Note, currently there is no way to configure a timeout on the connection level - only on the query level, but this does necessarily kill the connection. :-(
The text was updated successfully, but these errors were encountered:
Hi,
We are observing some issues with POST requests that get stuck.
It would be nice if we could also use the query timeout on the python request POST request in order to make the request client raise an exception on the connection if it does not complete within X seconds.
For example:
r = self.client.post(
url,
data=params,
timeout=timeout/1000, # in seconds
headers={"Accept": content_type},
)
Note, currently there is no way to configure a timeout on the connection level - only on the query level, but this does necessarily kill the connection. :-(
The text was updated successfully, but these errors were encountered: