php redis连接、读超时(单位:秒)

2018-05-10  本文已影响46人  k1ic

retry_interval

The retry_interval is used to specify a delay in milliseconds between reconnection attempts in case the client loses connection with a server

connect_timeout

The connect_timeout value is a double and is used to specify a timeout in number of seconds when creating redis socket connections used in the RedisArray.

read_timeout

The read_timeout value is a double and is used to specify a timeout in number of seconds when waiting response from the server.
上一篇 下一篇

猜你喜欢

热点阅读