ephraimbuddy opened a new pull request, #27091:
URL: https://github.com/apache/airflow/pull/27091

   When starting up the webserver, we create all the `gunicorn` workers needed 
and each of these workers would now have a copy of the webserver app. Running 
this copy by each worker causes a lot of IntegrityError in the database.
   
   However, Gunicorn has a `--preload` option which helps to load the 
application code before
   starting the workers. I have no idea why we are not using it but using it 
helped resolve the Integrity Errors.
   
   Happy to hear from you.
   
   closes: https://github.com/apache/airflow/issues/23512


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