mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Revert "Prevent removal unix socket for reuse_port"
This reverts commit af7f158d224c9925e3315ee216c07adc09c64b61.
This commit is contained in:
parent
af7f158d22
commit
df8290d153
@ -376,11 +376,7 @@ class Arbiter(object):
|
||||
killed gracefully (ie. trying to wait for the current connection)
|
||||
"""
|
||||
|
||||
unlink = (
|
||||
self.reexec_pid == self.master_pid == 0
|
||||
and not self.systemd
|
||||
and not self.cfg.reuse_port
|
||||
)
|
||||
unlink = self.reexec_pid == self.master_pid == 0 and not self.systemd
|
||||
sock.close_sockets(self.LISTENERS, unlink)
|
||||
|
||||
self.LISTENERS = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user