Browse Source

return unknown state on mindinsight startup when gunicorn error.log is flooded by exceptional process

tags/v1.0.0
liangyongxiong 5 years ago
parent
commit
6f6be0f512
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mindinsight/backend/run.py

+ 4
- 0
mindinsight/backend/run.py View File

@@ -192,6 +192,10 @@ def _check_server_start_stat(log_abspath, start_pos=None):
state_result.update(_check_state_from_log(log_abspath, log_pos))
break

if not state_result['prompt_message']:
state_result["prompt_message"].append(
"service start state: %s" % state_result["state"])

return state_result




Loading…
Cancel
Save