Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

supervisor: Include STARTING processes in 'only_running' processes.

Alex Vandiverb8f53ab6e8c7
diff --git a/scripts/lib/supervisor.py b/scripts/lib/supervisor.py
index a3cf445f663..3b0c1b76116 100644
--- a/scripts/lib/supervisor.py
+++ b/scripts/lib/supervisor.py
@@ -56,6 +56,7 @@ def list_supervisor_processes(
if only_running is None:
results.append(name)
- elif only_running == (process["statename"] == "RUNNING"):
+ elif only_running == (process["statename"] in ("RUNNING", "STARTING")):
results.append(name)
+
return results