diff options
author | Yossi Gottlieb <yossigo@users.noreply.github.com> | 2020-07-10 11:33:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 11:33:47 +0300 |
commit | 3e6f2b1a45176ac3d81b95cb6025f30d7aaa1393 (patch) | |
tree | 5193a087d79e760908849f3b191fc513bff21eae /redis.conf | |
parent | 5266293a0fdee57fe6bb8a408a2e2ff0c66f0259 (diff) | |
download | redis-3e6f2b1a45176ac3d81b95cb6025f30d7aaa1393.tar.gz |
TLS: Session caching configuration support. (#7420)
* TLS: Session caching configuration support.
* TLS: Remove redundant config initialization.
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf index a51ef007d..8c53f015a 100644 --- a/redis.conf +++ b/redis.conf @@ -199,6 +199,22 @@ tcp-keepalive 300 # # tls-prefer-server-ciphers yes +# By default, TLS session caching is enabled to allow faster and less expensive +# reconnections by clients that support it. Use the following directive to disable +# caching. +# +# tls-session-caching no + +# Change the default number of TLS sessions cached. A zero value sets the cache +# to unlimited size. The default size is 20480. +# +# tls-session-cache-size 5000 + +# Change the default timeout of cached TLS sessions. The default timeout is 300 +# seconds. +# +# tls-session-cache-timeout 60 + ################################# GENERAL ##################################### # By default Redis does not run as a daemon. Use 'yes' if you need it. |