Skip to content

[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

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

nicolas-grekas
Copy link
Member

@@ -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``)
Copy link
Contributor

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

Copy link
Contributor

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
Copy link
Member

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

@nicolas-grekas nicolas-grekas changed the title [Cache] add Redis options compression and tcp_keealive [Cache] add Redis options compression and tcp_keepalive Jul 3, 2018
@nicolas-grekas
Copy link
Member Author

updated thanks :)

@javiereguiluz
Copy link
Member

Thank you Nicolas.

@javiereguiluz javiereguiluz merged commit 266020c into symfony:master Jul 6, 2018
javiereguiluz added a commit that referenced this pull request Jul 6, 2018
…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
@nicolas-grekas nicolas-grekas deleted the cache-42 branch November 10, 2018 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants