Justin Karneges
Justin Karneges
Indeed, if you call send_event from the uwsgi process then nothing will happen.
For IPC, I think you'd want to communicate among `ListenerManager`s rather than `EventsConsumer`s (and let the managers dispatch to their consumers), but I have not thought about this deeply. Open...
The docs are a little confusing. The `EVENTSTREAM_ALLOW_HEADERS` option is used as the value of the `Access-Control-Allow-Headers` response header. It is a single string value, but that value can be...
Hi, Are you seeing this behavior when running in development mode with runserver? Or is this happening with a daphne deployment, and possibly you're running multiple instances?
I tried running the time example (in this repo) using the latest versions of all dependencies, including Django 3, and it seemed to work fine. Does it work for you...
Debugging further is difficult. The library could probably use some debug logging. All I can suggest is to use curl to connect to the events endpoint in order to examine...
`send_event` is intended to be thread safe, and the time example calls it from a separate thread too, so it should be okay. But perhaps there is some extra complexity...
Can you trim your code down to a reproducible example and share it?
Glad to hear you've found a solution. I tried moving the time example's thread init to `AppConfig.ready()` and it still worked okay, even after modifying a file and letting it...
I just tried the chat example using Django 3.0.3, Daphne 2.5.0, Channels 2.4.0, and Python 3.6.9, and it worked fine. Can you try the chat example the same way, but...