Skip to content

Sending events from celery task #809

Answered by miguelgrinberg
ysomad asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry about this, there is a discrepancy in the argument naming that I missed. Your emit should use room instead of to for the recipient:

external_sio.emit('finished', None, room=sid, namespace=namespace)

The main server accepts both to and room for this argument, I missed updating the client manager to also accept both names. I will update it.

Logged it as a bug: #810

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ysomad
Comment options

Answer selected by ysomad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants