Adding and removing users from the room using redis #2026
tapanparmarcdx
started this conversation in
General
Replies: 1 comment 1 reply
-
There are no public methods that return the participants in a room. This is intentional, there is currently no mechanism to obtain a complete list across multiple hosts. My recommendation is that you track room participants in a database, something this package has no access to. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have following configuration with flask app. when I run 1 instance of the app it works fine.
I am running two gunicorn instances one on port 5001 and one on port 5002. when I connect client to port 5001 instance and then make a post
/items/<id>
request to update the item on instance running on port 5002 then it says no participants found in the room. If does send the message to them but I can't get participants back. I am assuming that since I am using redis client manager I can get room participants from any instance. I also tried adding socketio channel while creating server but it didn't help.I am trying to get participants to check their permissions again before sending updates.
Is there any other way to achieve this?
__init__.py
blueprint.py
Thanks
Beta Was this translation helpful? Give feedback.
All reactions