You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the data broadcasted through the websocket when it receives a chat message is a hard-coded dict. This should probably be controlled by a configurable serializer.
Current code in consumers.py
The text was updated successfully, but these errors were encountered:
It could be good to look into profiling on the consumer to check how much it's costing us to use DRF serializers rather than a simple, explicit callable.
Currently, the data broadcasted through the websocket when it receives a chat message is a hard-coded dict. This should probably be controlled by a configurable serializer.
Current code in
consumers.py
The text was updated successfully, but these errors were encountered: