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 <firstname.lastname@example.org>
Reviewed-by: Georg Ringer <email@example.com>
Tested-by: Georg Ringer <firstname.lastname@example.org>
Reviewed-by: Josef Glatz <email@example.com>
Reviewed-by: Richard Haeser <firstname.lastname@example.org>
Tested-by: Richard Haeser <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>