mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
reap workers here.
This commit is contained in:
parent
43f4dd4109
commit
31ebc40258
@ -237,6 +237,7 @@ class Arbiter(object):
|
|||||||
|
|
||||||
def handle_chld(self, sig, frame):
|
def handle_chld(self, sig, frame):
|
||||||
self.wakeup()
|
self.wakeup()
|
||||||
|
self.reap_workers()
|
||||||
|
|
||||||
def handle_hup(self):
|
def handle_hup(self):
|
||||||
self.log.info("Master hang up.")
|
self.log.info("Master hang up.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user