Changes between Version 1 and Version 2 of Ticket #31717, comment 1
- Timestamp:
- Jun 17, 2020, 7:50:27 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31717, comment 1
v1 v2 1 1 I 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()}}} .2 Also manage runserver does not seem to call {{{HttpResponseBase.close()}}}, which could explain why the issue doesn't happen there. 3 3 4 4 This 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.