potiuk commented on code in PR #23905:
URL: https://github.com/apache/airflow/pull/23905#discussion_r887237051


##########
airflow/config_templates/default_airflow.cfg:
##########
@@ -980,6 +980,14 @@ pool_metrics_interval = 5.0
 # This is used by the health check in the "/health" endpoint
 scheduler_health_check_threshold = 30
 
+# When you start a scheduler, airflow starts a tiny web server
+# subprocess to serve a health check if this is set to True
+enable_health_check = True

Review Comment:
   I think default should be False to keep backwards compatibility - running 
new server and opening new port is potentially disrupting - it might cause 
security problems and increased resource usage.



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