Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Error in documentation about timeout argument? #916

@Elektordi

Description

@Elektordi

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions