rel-note and doc for lazy loading of oslo_cache
In continuation of I00e953abb3e835a94353fe458100c96e8e9c095a, this change adds the release note and documentation. Related-bug #1737115 Change-Id: I456239842d139074cc38cfd620bb88561bb4d0d7
This commit is contained in:
parent
35fa0e1da1
commit
a08bc44e04
@ -89,6 +89,8 @@ class _MemcacheClientPool(object):
|
||||
"""An advanced memcached client pool that is eventlet safe."""
|
||||
|
||||
def __init__(self, memcache_servers, **kwargs):
|
||||
# NOTE(sileht): This will import python-memcached, we don't want
|
||||
# it as hard dependency, so lazy load it.
|
||||
from oslo_cache import _memcache_pool
|
||||
self._pool = _memcache_pool.MemcacheClientPool(memcache_servers,
|
||||
**kwargs)
|
||||
|
6
releasenotes/notes/bug-1737115-fa3d41e3d3cd7177.yaml
Normal file
6
releasenotes/notes/bug-1737115-fa3d41e3d3cd7177.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
[`bug 1737115 <https://bugs.launchpad.net/keystonemiddleware/+bug/1737115>`_]
|
||||
Last release have accidentaly make python-memcached a hard dependency, this
|
||||
have changed back to an optional one.
|
Loading…
x
Reference in New Issue
Block a user