mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
useless info
This commit is contained in:
parent
0d04e7bf7f
commit
786c97442d
@ -259,15 +259,12 @@ class Arbiter(object):
|
||||
wpid, status = os.waitpid(-1, os.WNOHANG)
|
||||
if not wpid: break
|
||||
if self.reexec_pid == wpid:
|
||||
log.error("reaped %s" % str(status))
|
||||
self.reexec_pid = 0
|
||||
else:
|
||||
worker = self.WORKERS.pop(wpid, None)
|
||||
if not worker:
|
||||
continue
|
||||
worker.tmp.close()
|
||||
log.info("repead %s \nworker %s" % (str(status),
|
||||
str(worker.id)))
|
||||
except OSError, e:
|
||||
if e.errno == errno.ECHILD:
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user