mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
just display listening info if addres has changed on HUP.
This commit is contained in:
parent
92157fc503
commit
8b10e33ecd
@ -329,7 +329,7 @@ class Arbiter(object):
|
|||||||
if old_address != self.cfg.address:
|
if old_address != self.cfg.address:
|
||||||
self.LISTENER.close()
|
self.LISTENER.close()
|
||||||
self.LISTENER = create_socket(self.cfg)
|
self.LISTENER = create_socket(self.cfg)
|
||||||
self.log.info("Listening at: %s" % self.LISTENER)
|
self.log.info("Listening at: %s" % self.LISTENER)
|
||||||
|
|
||||||
# spawn new workers with new app & conf
|
# spawn new workers with new app & conf
|
||||||
for i in range(self.app.cfg.workers):
|
for i in range(self.app.cfg.workers):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user