You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/09/08 08:57:05 UTC

[GitHub] [airflow] potiuk commented on issue #6023: [AIRFLOW-5417] Fix DB disconnects during webserver startup

potiuk commented on issue #6023: [AIRFLOW-5417] Fix DB disconnects during webserver startup
URL: https://github.com/apache/airflow/pull/6023#issuecomment-529183747
 
 
   Very interesting one. I read a bit about scoped session in this context.
   
   Just a thought:
   
   Maybe a better solution (still temporary but a bit less invasive) will be to run init_views in a separate thread and join it later (if we need to join it at all). This way the session will not be removed from the thread_local scope and in case it is used later on it might be still used?
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services