influxdb-python
influxdb-python copied to clipboard
Error in documentation about timeout argument?
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...