-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Description
The aioredis library supports connecting to redis using TLS, and has done since version 0.2.6 (see https://github.com/aio-libs/aioredis-py/blob/master/CHANGELOG.md#026-2016-03-30).
The aiocache implementation of the redis backend, however, does not support TLS - it doesn't use the ssl parameter when initialising the pool here: https://github.com/aio-libs/aiocache/blob/master/aiocache/backends/redis.py#L209
You can see the function signature of create_pool here: https://github.com/moserware/aioredis/blob/master/aioredis/pool.py#L14
@asyncio.coroutine
def create_pool(address, *, db=0, password=None, ssl=None, encoding=None,
minsize=10, maxsize=10, commands_factory=Redis, loop=None):
...Is there a reason aiocache does not support TLS as a config option for a redis backend? If not, please could support be added?
eigenein
Metadata
Metadata
Assignees
Labels
No labels