Fokko commented on issue #4283: [AIRFLOW-3450] Remove unnecessary sigint handler
URL: 
https://github.com/apache/incubator-airflow/pull/4283#issuecomment-446878286
 
 
   Very good point @NielsZeilemaker Thanks for the elaboration. Setting a flag 
which will cause the scheduler to shutdown sounds like a better plan. In this 
case we should catch the `SIGTERM`, set a flag which will stop the scheduler 
loop, and shutdown the application in 30 seconds. Ref: 
https://pracucci.com/graceful-shutdown-of-kubernetes-pods.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to