Set app.is_running to True
This commit is contained in:
parent
7ca9116e37
commit
466b34735c
|
@ -40,6 +40,7 @@ class GunicornWorker(base.Worker):
|
|||
|
||||
try:
|
||||
self.loop.run_until_complete(self._runner)
|
||||
self.app.callable.is_running = True
|
||||
trigger_events(self._server_settings.get('after_start', []),
|
||||
self.loop)
|
||||
self.loop.run_until_complete(self._check_alive())
|
||||
|
|
Loading…
Reference in New Issue
Block a user