Connection timeout for Redis cache backend
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.
[BUGFIX] Implement connection timeout option for Redis backend
Allow an option for connectionTimeout to be set for the Redis cache backend
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Georg Ringer <firstname.lastname@example.org>
Tested-by: Georg Ringer <email@example.com>
Reviewed-by: Josef Glatz <firstname.lastname@example.org>
Reviewed-by: Richard Haeser <email@example.com>
Tested-by: Richard Haeser <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>