-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Cache] add Redis options compression and tcp_keepalive #9985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -128,6 +134,10 @@ Available Options | |||
Specifies the delay (in milliseconds) between reconnection attempts in case the client | |||
loses connection with the server. | |||
|
|||
``tcp_keealive`` (type: ``int``, default: ``0``) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed a p
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And in the commit message :P
@@ -128,6 +134,10 @@ Available Options | |||
Specifies the delay (in milliseconds) between reconnection attempts in case the client | |||
loses connection with the server. | |||
|
|||
``tcp_keealive`` (type: ``int``, default: ``0``) | |||
Specifies the TCP-keepalive timeout of the connection. This requires phpredis v4 or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the timeout is in seconds, but we should specify it. Thanks!
Specifies `TCP keepalive`_ timeout of the connection in seconds. This requires phpredis v4 or higher and a TCP-keepalive enabled server.
.. _`TCP keepalive`: https://en.wikipedia.org/wiki/Keepalive
updated thanks :) |
Thank you Nicolas. |
…nicolas-grekas) This PR was merged into the master branch. Discussion ---------- [Cache] add Redis options compression and tcp_keepalive Since symfony/symfony#27646 Commits ------- 266020c [Cache] add Redis options compression and tcp_keepalive
Since symfony/symfony#27646