Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Connection <RedisConnection [db:0]> has pending commands, closing it. #695

Closed
bitnom opened this issue Feb 2, 2020 · 2 comments
Closed

Comments

@bitnom
Copy link

bitnom commented Feb 2, 2020

Using redis for session:

from aiohttp_session import setup as setup_session
from aiohttp_session.redis_storage import RedisStorage
from aioredis import create_pool

redis_pool = await create_pool(('localhost', 6379), password="***")
setup_session(app, RedisStorage(redis_pool, cookie_name="mysite"))

I'm getting the following message in my log: Connection <RedisConnection [db:0]> has pending commands, closing it.

What's going on here?

@alwavshumilin
Copy link

@seandstewart
Copy link
Collaborator

This should no longer occur in the master branch, as of #891. There will be an alpha release soon with the updates to aioredis, but in the meantime you can install from the repository and test if you still have any issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants