Disable connection reuse (#10545)
Disable connection reuse (#10545)

Django does not have any support for connection pooling. Instead, it
implements "poor man's pooling," where connections are left lingering
between requests and can be reused by the subsequent request if the
connection is fresh enough. Django 4 made the request context async-local,
which means the subsequent request never sees the previous connection.
This removed the benefit of keeping connections alive but also started to
leak unterminated connections, which can lead to PostgreSQL rejecting new connections.

Related ticket in Django: https://code.djangoproject.com/ticket/33497
mociepka/saleor,mociepka/saleor,mociepka/saleor