Skip to content

Commit b0115b9

Browse files
author
Ankit Patel
committed
detach socket in child process
1 parent 0a0ef9d commit b0115b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gunicorn/workers/ggevent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def patch(self):
4141
sockets = []
4242
for s in self.sockets:
4343
sockets.append(socket.socket(s.FAMILY, socket.SOCK_STREAM,
44-
fileno=s.sock.fileno()))
44+
fileno=s.sock.detach()))
4545
self.sockets = sockets
4646

4747
def notify(self):

0 commit comments

Comments
 (0)