Subscribing messagebroker like redis pub/sub in python socketio #1286
-
I want to use a message broker to emit messages from the socketio. Usually I do it using the following code:
However, when I remove the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are using the blocking redis client. Since this is an async application you should use the async redis client to prevent blocking. |
Beta Was this translation helpful? Give feedback.
You are using the blocking redis client. Since this is an async application you should use the async redis client to prevent blocking.