mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
old_listener is useless.
This commit is contained in:
parent
7409535d69
commit
92157fc503
@ -320,7 +320,6 @@ class Arbiter(object):
|
|||||||
|
|
||||||
def reload(self):
|
def reload(self):
|
||||||
old_address = self.cfg.address
|
old_address = self.cfg.address
|
||||||
old_listener = None
|
|
||||||
|
|
||||||
# reload conf
|
# reload conf
|
||||||
self.app.reload()
|
self.app.reload()
|
||||||
@ -340,7 +339,6 @@ class Arbiter(object):
|
|||||||
if self.pidfile is not None:
|
if self.pidfile is not None:
|
||||||
self.pidfile.unlink()
|
self.pidfile.unlink()
|
||||||
|
|
||||||
|
|
||||||
# create new pidfile
|
# create new pidfile
|
||||||
if self.cfg.pidfile is not None:
|
if self.cfg.pidfile is not None:
|
||||||
self.pidfile = Pidfile(self.cfg.pidfile)
|
self.pidfile = Pidfile(self.cfg.pidfile)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user