Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Should timeout be read_timeout? #795

@jesseforrest

Description

@jesseforrest

We are trying to understand the difference between the timeout and read_timeout. We noticed that c->waitms is set to timeout instead of read_timeout on this line:

/* Set up our waitms based on timeout */

We recently reduced timeout from 5 seconds to 1 second. Now we are seeing a significant number of "Timed out attempting to find data in the correct node!" errors and would have assumed it was tied to read_timeout, but it's actually tied to timeout. Is timeout the correct value to be set for c->waitms?

Our current production settings have:

timeout = 1 sec
read_timeout = 6 sec

Any advice on the appropriate next steps would be appreciated.

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