mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
no need for this change now
This commit is contained in:
parent
652f8d2734
commit
0d0367361f
@ -352,9 +352,7 @@ class Arbiter(object):
|
|||||||
|
|
||||||
os.environ['GUNICORN_FD'] = str(self.LISTENER.fileno())
|
os.environ['GUNICORN_FD'] = str(self.LISTENER.fileno())
|
||||||
os.chdir(self.START_CTX['cwd'])
|
os.chdir(self.START_CTX['cwd'])
|
||||||
cmd = (self.START_CTX[0],) + tuple(self.START_CTX['argv'])
|
os.execlp(self.START_CTX[0], *self.START_CTX['argv'])
|
||||||
os.execlp(*cmd)
|
|
||||||
|
|
||||||
|
|
||||||
def murder_workers(self):
|
def murder_workers(self):
|
||||||
for (pid, worker) in list(self.WORKERS.items()):
|
for (pid, worker) in list(self.WORKERS.items()):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user