vandonr-amz commented on code in PR #32572:
URL: https://github.com/apache/airflow/pull/32572#discussion_r1261828629


##########
airflow/configuration.py:
##########
@@ -378,6 +379,27 @@ def validate(self):
         self._upgrade_postgres_metastore_conn()
         self.is_validated = True
 
+    def _validate_max_tis_per_query(self) -> None:
+        """
+        Check if config ``scheduler.max_tis_per_query`` is not greater than 
``core.parallelism``.
+        If not met, a warning message printed, to guide user for best practice.
+
+        More info: https://github.com/apache/airflow/pull/29602
+
+        """
+        # TODO: this type of checking can be generalized like the deprecate 
checking

Review Comment:
   yeah, also I'm not really sure how and for what this would be generalized



-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to