Skip to content

Documentation error: Overriding HTTP Timeout #69

@dingosky

Description

@dingosky

There is a simple error in the documentation regarding the example for overriding the default HTTP timeout of 5 seconds.

The code snippet:
Neuron.Config.set(url: "https://example.com/graph", connection_opts: [recv_timeout: 15_000])

should be:
Neuron.Config.set(url: "https://example.com/graph", connection_opts: [timeout: 15_000])

That is, the configuration option should be timeout, not recv_timeout.

Note the correct usage in the Neuron.Connection.HttpTest test "with custom connection options".

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