-
-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Celery reconnecting #1018
Comments
I'm not sure there's anything we can do about this in Channels - I'm not familiar with how Celery uses Redis internally, but I know they use a different library to us to talk to it so I don't know why it would interfere like this. |
Sure, but I was using channels from first version and there wasn't such issue. And after switching to channels-2 I found this. So I thought maybe something would come into your mind, some difference in how the second version works with redis or something like this. |
I'm afraid nothing immediately comes to mind - the difference between Channels 1 and 2 is vast (asyncio, Python 3 only, etc.) that there's no one thing that it could be. |
I though it celery who was reconnecting, but actually it's channels-redis, and it isn't celery-specific. I've created an issue there: django/channels_redis#100 |
I'm using redis as celerys broker and channels layers backend. After sending a channel message from celery task I see it reconnecting multiple times:
If I set the same redis database for celery and channels I see much more such reconnections.
celery==4.1.0
channels==2.1.0
channels-redis==2.1.1
The text was updated successfully, but these errors were encountered: