mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Make worker timeouts more noticeable in the log.
This commit is contained in:
parent
dd7e8f08f8
commit
af4ee69eae
@ -307,7 +307,7 @@ class Arbiter(object):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self.log.error("Worker timed out (pid:%s)" % pid)
|
self.log.critical("WORKER TIMEOUT (pid:%s)" % pid)
|
||||||
self.kill_worker(pid, signal.SIGKILL)
|
self.kill_worker(pid, signal.SIGKILL)
|
||||||
|
|
||||||
def reap_workers(self):
|
def reap_workers(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user