ashb opened a new pull request #19710:
URL: https://github.com/apache/airflow/pull/19710


   Thanks to a previous change (https://github.com/apache/airflow/pull/19709) 
to not load provider hooks too early we can take advantage of the "preload-app" 
feature of Gunicorn to load the application once in the main gunicorn process 
before the workers are forked off.
   
   This change makes the webserver start up (time to serving first request) go 
from 20s to 5s.
   
   (The reason we don't just do this blindly everywhere is that it would mean 
plugins are loaded at start only, and is a change in behaviour. But in tests 
this is fine.)


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