KostyaEsmukov commented on issue #8166: Task Duration Bug: Doesn't respect number of runs URL: https://github.com/apache/airflow/issues/8166#issuecomment-609970430 Looks like it is related to dag serialization: ``` >>> dagbag = models.DagBag(settings.DAGS_FOLDER, store_serialized_dags=True) >>> dag = dagbag.get_dag("<...mydag...>") >>> dag._schedule_interval datetime.timedelta(days=1) >>> dag.schedule_interval datetime.timedelta(seconds=300) >>> dagbag = models.DagBag(settings.DAGS_FOLDER, store_serialized_dags=False) >>> dag = dagbag.get_dag("<...mydag...>") >>> dag._schedule_interval datetime.timedelta(seconds=300) >>> dag.schedule_interval datetime.timedelta(seconds=300) ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
