thread_sensitive=True has been the default value for asgiref ever since Django has had async support. There is a very high chance the default will become False in the future when Django's ORM becomes async safe.
So, we may as well respect the default value defined in asgiref to plan for future performance possibilities.
thread_sensitive=True
has been the default value forasgiref
ever since Django has had async support. There is a very high chance the default will becomeFalse
in the future when Django's ORM becomes async safe.So, we may as well respect the default value defined in
asgiref
to plan for future performance possibilities.