Justin Karneges

Results 129 comments of Justin Karneges

I've decided to simply require installing `channels` manually, to make it easier for users to select between older Django versions and the latest Channels versions. The major version of `django-eventstream`...

The meta dict is passed along to the publish() call at the end there, and it should do the right thing already. :) If it doesn't work for you, let...

JWT auth should be fine as long as the user is properly Django authed as a result. Are you using an ASGI deployment with clients connecting directly to it? Or...

Thanks for pointing this out, @frnhr. Fixed in 50c3db72125e1675ad2b5d830723ac6bc8e68d4f

Thanks! I think we still want the loop, since the query is limited to the batch size. And probably the `.delete()` goes after the slice?

The batch limit is there so that all the results don't get buffered in memory. I seem to recall that even though querysets are evaluated lazily, iterating a queryset may...

We don't want to block the database/table though. Some searching around suggests that bulk deletes may perform a table lock, for example: https://stackoverflow.com/questions/11230225/how-to-efficiently-delete-rows-while-not-using-truncate-table-in-a-500-000-rows Sorry to go back and forth on...

Interesting. There's an `atexit` handler in pubcontrol to ensure messages get flushed, but possibly that doesn't work in all situations. Being able to do a blocking send seems reasonable. I've...

Hi! That sounds like a great idea. Feel free to send a PR.

Hi, The processes don't talk to each other, so when a message is sent it is only pushed to clients connected to the same process. To support multiple processes, you'll...