Skip to content

HTTP Timeout does not work #149

Closed
@szerwi

Description

@szerwi

Here are my client's settings:

influxdb.setWriteOptions(WriteOptions().writePrecision(precision).batchSize(1).bufferSize(360).flushInterval(3600).retryInterval(5).maxRetryInterval(300).maxRetryAttempts(0));
influxdb.setHTTPOptions(HTTPOptions().httpReadTimeout(4000));

In connection params I set the address that does not exist.

Expected behavior:
influxdb.writePoint() should fail after 4 seconds.

Actual behavior:
It fails after about 15 seconds.

Specifications:

  • Library Version: 3.8.0
  • InfluxDB Version: 2.0.7
  • Board/ESP chip: ESP32
  • Device Arduino SDK version: ESP32 2.0.0-alpha1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions