mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Do not swallow unexpected errors when reaping
I can't imagine this wasn't what was intended here. Might be a merge artifact but I can't trace it. Thanks to Antti Kaihola (@akaihola) for spotting this. Close #733
This commit is contained in:
parent
fd22ea24ae
commit
20ed91497c
@ -463,8 +463,8 @@ class Arbiter(object):
|
|||||||
continue
|
continue
|
||||||
worker.tmp.close()
|
worker.tmp.close()
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
if e.errno == errno.ECHILD:
|
if e.errno != errno.ECHILD:
|
||||||
pass
|
raise
|
||||||
|
|
||||||
def manage_workers(self):
|
def manage_workers(self):
|
||||||
"""\
|
"""\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user