Changes between Initial Version and Version 1 of Ticket #33745


Ignore:
Timestamp:
May 25, 2022, 6:23:25 PM (3 years ago)
Author:
abetkin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33745 – Description

    initial v1  
    33I 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.
    44
    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.
     5If 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.
     6However, django will silently adapt it and run in a separate thread.
    67The same happens if a sync endpoint is dispatched to the asgi application. Again, I want that to be an error!
    78
    8 I've found no easy way to turn this behavior off or even to check that this is happening, to log it somewhere. I think this is wrong.
     9I 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.
Back to Top