mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -03:30
This could be the source of the connection memory leaks, over 1000
connections and only 12 bytes of non-gc-tracked allocations. Kudos to cmeyers for finding this.
This commit is contained in:
@@ -205,6 +205,7 @@ class SocketIOHandler(WSGIHandler):
|
|||||||
del self.websocket.environ
|
del self.websocket.environ
|
||||||
del self.websocket
|
del self.websocket
|
||||||
if self.environ:
|
if self.environ:
|
||||||
|
self.environ.pop('wsgi.websocket', None)
|
||||||
del self.environ
|
del self.environ
|
||||||
|
|
||||||
def handle_bad_request(self):
|
def handle_bad_request(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user