influxdb-python icon indicating copy to clipboard operation
influxdb-python copied to clipboard

Error in documentation about timeout argument?

Open Elektordi opened this issue 3 years ago • 0 comments

In this page: https://influxdb-python.readthedocs.io/en/latest/api-documentation.html

The "timeout" argument of InfluxDBClient are documented as: number of seconds Requests will wait for your client to establish a connection, defaults to None But in reality it is the maximum total length of the query (not just connection phase), and value is in milliseconds (not seconds).

I have a long query, about 5 minutes, tried it with timeout=3600 but following exception is raised: ReadTimeoutError: HTTPConnectionPool(host='10.x.x.x', port=8086): Read timed out. (read timeout=3.592902796017006) So there is definitively a mismatch in the documentation...

Elektordi avatar Apr 21 '22 14:04 Elektordi