mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fixes #2133
This commit is contained in:
parent
3fcb551921
commit
a4b6b1385a
@ -116,6 +116,8 @@ class Worker(object):
|
||||
|
||||
self.init_signals()
|
||||
|
||||
self.load_wsgi()
|
||||
|
||||
# start the reloader
|
||||
if self.cfg.reload:
|
||||
def changed(fname):
|
||||
@ -130,7 +132,6 @@ class Worker(object):
|
||||
callback=changed)
|
||||
self.reloader.start()
|
||||
|
||||
self.load_wsgi()
|
||||
self.cfg.post_worker_init(self)
|
||||
|
||||
# Enter main run loop
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user