Bug #79966

Connection timeout for Redis cache backend

Added by Arno Schoon over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Caching
Target version:
Start date:
2017-02-23
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
redis
Complexity:
Is Regression:
No
Sprint Focus:

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.

Associated revisions

Revision 9b4f5274 (diff)
Added by Arno Schoon over 2 years ago

[BUGFIX] Implement connection timeout option for Redis backend

Allow an option for connectionTimeout to be set for the Redis cache backend

Resolves: #79966
Releases: master
Change-Id: I9a4d1abb07f4e199a8c1a53a6fc3de6ddf613140
Reviewed-on: https://review.typo3.org/51799
Tested-by: TYPO3com <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Josef Glatz <>
Reviewed-by: Richard Haeser <>
Tested-by: Richard Haeser <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51799

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51799

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51799

#4 Updated by Arno Schoon over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF