Closed salberin closed 2 years ago
I've attempted a fix (#81). Can you try it?
I've tried it and so far it seems to hold up quite well in local testing. I'll try remote deployment next!
Many thanks for this, I've been wrecking my head over this for several days now....
On Tue, Oct 26, 2021 at 2:29 AM Justin Karneges @.***> wrote:
I've attempted a fix (#81 https://github.com/fanout/django-eventstream/pull/81). Can you try it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fanout/django-eventstream/issues/80#issuecomment-951445576, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOL4T5SUEQMIIGZSFBZBVDUIXY5XANCNFSM5GOBRWSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Remote deployment seems to work fine as well!
Released 4.4.0 with the fix.
I have my application deployed with gunicorn and uvicorn workers and for some views I'm getting the following error
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
However, I'm not running any other event loops, I don't even have async code in my application at the moment. I'm running Django 3.2.7 on Python 3.9, full stacktrace is found below