uranusjr opened a new pull request, #29569: URL: https://github.com/apache/airflow/pull/29569
Loading an executor is heavy work that is only needed in a scheduler. We should avoid doing that. This moves the validation to when the executor is actually loaded; this slightly degrades the UX when there's an invalid configuration (the scheduler fails later), but the gain is worthwhile IMO. For the webserver, for example, the startup time of a "bare" Airflow installation (no providers or plugins) is down >25% on my machine (roughly 8s to 6s). -- 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]
