bahram-cdt commented on PR #62016:
URL: https://github.com/apache/airflow/pull/62016#issuecomment-3910088229

   > > An alternative design: we could add a fail_on_already_running: bool = 
False parameter to make this opt-in, if the team prefers a non-breaking-default 
approach. Happy to adjust!
   > 
   > I would personally prefer this solution so that users can decide which 
behavior they want
   
   Agreed  Now:
   
   - **`fail_on_already_running=True`** (default) — preserves current behavior, 
no change for existing users
   - **`fail_on_already_running=False`** — opt-in: catches 
`CrawlerRunningException`, logs a warning, and waits for the existing run to 
complete
   
   Added tests covering both modes. Let me know if you'd like any further 
adjustments 
   


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

Reply via email to