Closed mtopolnik closed 6 months ago
ureq has a potential bug in its agent builder code regarding timeouts. There are two kinds of timeout:
ureq
agent_builder.timeout_connect()
agent_builder.timeout()
timeout_connect
timeout
This PR applies a workaround and sets timeout_connect to QuestDB's parameter request_timeout.
request_timeout
This partially addresses https://github.com/questdb/py-questdb-client/issues/75.
Also addresses #66.
ureq
has a potential bug in its agent builder code regarding timeouts. There are two kinds of timeout:agent_builder.timeout_connect()
applies to establishing the TCP connectionagent_builder.timeout()
applies to the overall HTTP requesttimeout_connect
is always applied for the connection phase, even if longer than the overall timeouttimeout_connect
has a default of 15 secondstimeout_connect
to unconfigured statetimeout
setting shorter thantimeout_connect
is basically ignoredThis PR applies a workaround and sets
timeout_connect
to QuestDB's parameterrequest_timeout
.This partially addresses https://github.com/questdb/py-questdb-client/issues/75.
Also addresses #66.