getsentry / airflow-metrics

Metrics for airflow
Apache License 2.0
14 stars 6 forks source link

fix: Move thread to the scheduler and do not wait #12

Closed Zylphrex closed 5 years ago

Zylphrex commented 5 years ago

Composer runs webserver through gunicorn and this naive approach fails. However we can run it in the scheduler as there is only 1 instance and make sure not to wait for the thread which is a blocking operation.