Changes between Version 1 and Version 2 of Ticket #31717, comment 1


Ignore:
Timestamp:
Jun 17, 2020, 7:50:27 PM (5 years ago)
Author:
Yu Li

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31717, comment 1

    v1 v2  
    11I commented out {{{signals.request_finished.connect(close_old_connections)}}} and the problem immediately goes away.
    2 Also manage runserver does not seem to call {{{HttpResponseBase.close()}}}.
     2Also manage runserver does not seem to call {{{HttpResponseBase.close()}}}, which could explain why the issue doesn't happen there.
    33
    44This gives me more confidence that where the issue lays. I think the problem is uwsgi is calling {{{.close()}}} from a different thread whereas a transaction is on-going somewhere else.
Back to Top