oslo.cache/oslo_cache
Ben Nemec 43c6279a7e Drop expired connections before retrieving from the queue
If all the connections in the queue have expired, we don't want to
return any of them.  Because we previously dropped connections only
after retrieval, it was possible we would choose and return a dead
connection.  Doing the cleanup first should prevent that.

Change-Id: I650537e7b44d6bdd552def6a3b2de42a60ed9b94
Closes-Bug: 1775341
2018-08-30 21:01:33 +00:00
..
backends Change memcache_socket_timeout to a float 2018-03-27 15:42:33 +02:00
locale Imported Translations from Zanata 2018-03-01 07:34:30 +00:00
tests Merge "Improve backend configuration help text" 2017-07-06 15:57:18 +00:00
__init__.py Export functions from __init__ 2015-10-13 14:48:32 +11:00
_i18n.py Update the documentation link for doc migration 2017-08-07 16:41:41 +08:00
_memcache_pool.py Drop expired connections before retrieving from the queue 2018-08-30 21:01:33 +00:00
_opts.py Merge "Change memcache_socket_timeout to a float" 2018-03-28 04:24:40 +00:00
core.py Add kwarg function key generator 2017-06-29 13:53:48 +01:00
exception.py Cleanup exceptions 2015-06-29 18:13:32 +00:00
testing.py Make CacheIsolatingProxy public 2015-10-08 16:28:08 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00