Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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

Copy link
Copy link
Open
@Elektordi

Description

@Elektordi
Issue body actions

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.