potiuk commented on code in PR #30255:
URL: https://github.com/apache/airflow/pull/30255#discussion_r1161336294
##########
airflow/jobs/scheduler_job.py:
##########
@@ -161,12 +165,16 @@ def __init__(
# Check what SQL backend we use
sql_conn: str = conf.get_mandatory_value("database",
"sql_alchemy_conn").lower()
self.using_sqlite = sql_conn.startswith("sqlite")
- # Dag Processor agent - not used in Dag Processor standalone mode.
+ # Dag Processor agent - not used in Dag Processor eartstandalone mode.
self.processor_agent: DagFileProcessorAgent | None = None
self.dagbag = DagBag(dag_folder=self.subdir, read_dags_from_db=True,
load_op_links=False)
self._paused_dag_without_running_dagruns: set = set()
+ @provide_session
+ def heartbeat_callback(self, session=NEW_SESSION) -> None:
Review Comment:
yep
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]