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,8 +320,7 @@ class Arbiter(object):
|
||||
|
||||
def reload(self):
|
||||
old_address = self.cfg.address
|
||||
old_listener = None
|
||||
|
||||
|
||||
# reload conf
|
||||
self.app.reload()
|
||||
self.setup(self.app)
|
||||
@ -340,7 +339,6 @@ class Arbiter(object):
|
||||
if self.pidfile is not None:
|
||||
self.pidfile.unlink()
|
||||
|
||||
|
||||
# create new pidfile
|
||||
if self.cfg.pidfile is not None:
|
||||
self.pidfile = Pidfile(self.cfg.pidfile)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user