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

Using timeout does not take effect? #200

@bobisjan

Description

@bobisjan

Describe the bug
Using (default) timeout option does not take effect.

To reproduce
During the outage https://status.launchdarkly.com/incidents/2272yx0d6fh8 our monitoring reported average response time over the default 5 seconds timeout.

Expected behavior
Using (default) timeout option does take effect.

Logs
image

SDK version
5.13.4

Additional context
Based on nodejs/node#12005 (comment) the httpRequest util should subscribe to timeout event and abort request?

req.on('timeout', () => { req.abort(); });

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