Closed ghost closed 5 years ago
I use channels = 2.1.5,django = 2.1.3,which send_event failed
the working one is channels = 2.1.2, django = 1.11.15
I found publish method at line 159 in pubcontrol.py: def publish(self, channel, item, blocking=False, callback=None):
in this function,i found self.clients is empty,is this why no events sent?
sorry, my mistake, now is working fine.
I make send_event call in python console, not in asgi context and no GRIP proxy layer used.
I use channels = 2.1.5,django = 2.1.3,which send_event failed
the working one is channels = 2.1.2, django = 1.11.15
I found publish method at line 159 in pubcontrol.py: def publish(self, channel, item, blocking=False, callback=None):
in this function,i found self.clients is empty,is this why no events sent?