Lower the memcache_socket_timeout to one second
Lowering this setting still allows for reasonable confidence of a timeout without tanking performance. Certain downstream projects have already made this optimization: https://github.com/crowbar/crowbar-openstack/pull/1429 Change-Id: Iaca2f8cc09a6acae425c020a9d14da3ffde05dec
This commit is contained in:
parent
a5023ba275
commit
f67262f0e7
@ -83,7 +83,7 @@ FILE_OPTIONS = {
|
||||
' before it is tried again. (dogpile.cache.memcache and'
|
||||
' oslo_cache.memcache_pool backends only).'),
|
||||
cfg.FloatOpt('memcache_socket_timeout',
|
||||
default=3.0,
|
||||
default=1.0,
|
||||
help='Timeout in seconds for every call to a server.'
|
||||
' (dogpile.cache.memcache and oslo_cache.memcache_pool'
|
||||
' backends only).'),
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The default value for ``memcache_socket_timeout`` has been lowered from 3
|
||||
seconds to 1 second. The positive side-effect of this can be found in
|
||||
downstream `changes
|
||||
<https://github.com/crowbar/crowbar-openstack/pull/1429>`_. If you
|
||||
deployment relies explicitly on a timeout of 3 seconds, please set that
|
||||
override in your configuration.
|
Loading…
Reference in New Issue
Block a user