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.
We are trying to understand the difference between the
timeoutandread_timeout. We noticed thatc->waitmsis set totimeoutinstead ofread_timeouton this line:phpredis/cluster_library.c
Line 818 in 31b0531
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 totimeout. Istimeoutthe correct value to be set forc->waitms?Our current production settings have:
Any advice on the appropriate next steps would be appreciated.