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 2021/09/30 09:07:18 UTC

[GitHub] [airflow] ashb commented on a change in pull request #18627: Add default weight rule configuration option

ashb commented on a change in pull request #18627:
URL: https://github.com/apache/airflow/pull/18627#discussion_r719210113



##########
File path: airflow/config_templates/default_airflow.cfg
##########
@@ -207,6 +207,9 @@ dag_discovery_safe_mode = True
 # The number of retries each task is going to have by default. Can be overridden at dag or task level.
 default_task_retries = 0
 
+# The weighting method used for the effective total priority weight of the task
+default_task_weight_rule = downstream

Review comment:
       We should probably validate that this option is valid (i.e. it's in the enum) in airflow.configuration.Configration.validate()




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org