You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/02/27 15:55:23 UTC

(airflow) branch main updated: Fix standalone command by removing the usage of webserver_port property (#47145)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 54eb6b96efc Fix standalone command by removing the usage of webserver_port property (#47145)
54eb6b96efc is described below

commit 54eb6b96efc567b589ec70379dba35680b340bb4
Author: M. Olcay Tercanlı <mu...@epam.com>
AuthorDate: Thu Feb 27 16:55:17 2025 +0100

    Fix standalone command by removing the usage of webserver_port property (#47145)
---
 airflow/cli/commands/local_commands/standalone_command.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/airflow/cli/commands/local_commands/standalone_command.py b/airflow/cli/commands/local_commands/standalone_command.py
index d8fdb6da7ae..77c5ad3e321 100644
--- a/airflow/cli/commands/local_commands/standalone_command.py
+++ b/airflow/cli/commands/local_commands/standalone_command.py
@@ -203,8 +203,7 @@ class StandaloneCommand:
         For now, it's simply time-based.
         """
         return (
-            self.port_open(self.web_server_port)
-            and self.job_running(SchedulerJobRunner)
+            self.job_running(SchedulerJobRunner)
             and self.job_running(DagProcessorJobRunner)
             and self.job_running(TriggererJobRunner)
         )