Changes between Initial Version and Version 1 of Ticket #33745
- Timestamp:
- May 25, 2022, 6:23:25 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33745 – Description
initial v1 3 3 I have 1 asgi and 1 wsgi application, namely for my sync and async endpoints. All my code runs natively, there is no need to adapt my code with sync_to_async-like stuff. 4 4 5 If an async endpoint is routed to the wsgi application, it is AN ERROR for me. However, django will silently adapt it and run in a separate thread. 5 If an async endpoint is routed to the wsgi application, it is AN ERROR for me. That means that I've made a mistake in the config of my server. 6 However, django will silently adapt it and run in a separate thread. 6 7 The same happens if a sync endpoint is dispatched to the asgi application. Again, I want that to be an error! 7 8 8 I 've found noeasy way to turn this behavior off or even to check that this is happening, to log it somewhere. I think this is wrong.9 I haven't found any easy way to turn this behavior off or even to check that this is happening, to log it somewhere. I think this is wrong.