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
Every time you call pubsub.subscribe('chat'), it's gonna send a message {'pattern': None, 'type': 'subscribe', 'channel': 'chat', 'data': 1L} to the channel. That's why you're seeing it when the connection is established. You will see it more when the connection gets re-establised.
When opening a browser, I found there was a line showing "1", which should not be there.
And in
event_stream()
function the print shows the following first data:I'm new to this, and wandering what the 1L data is for. From my point of view, it should be empty.
The text was updated successfully, but these errors were encountered: