Issue Bug Closed

#79966Connection timeout for Redis cache backend

Arno Schoon 02/23/17, 10:33 updated 10/17/17, 23:30

Description

By default a connection to any Redis host may take up an unlimited amount of time (or until PHP times out).

Especially with an external host which can suffer from network issues this leads to issues.

PHPredis supports setting a timeout (in seconds) when establishing a connection, if the host is down the script shouldn’t wait too long.

Reviews 1