KostyaEsmukov commented on issue #8166: Task Duration Bug: Doesn't respect 
number of runs
URL: https://github.com/apache/airflow/issues/8166#issuecomment-609974284
 
 
   Okay, I guess I found out why they desynchronize:
   - serialized dag calls DAG's inititalizer with default daily timedelta: 
https://github.com/apache/airflow/blob/1.10.10rc3/airflow/serialization/serialized_objects.py#L539
   - and then sets just the public `schedule_interval` attribute during 
deserialization: 
https://github.com/apache/airflow/blob/1.10.10rc3/airflow/serialization/serialized_objects.py#L559
   
   So I guess you were right to say that this is not a regression in 1.10.10. 
Probably I just missed that when I switched on dags serialization.

----------------------------------------------------------------
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

Reply via email to