o-nikolas commented on code in PR #32572:
URL: https://github.com/apache/airflow/pull/32572#discussion_r1262827347
##########
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:
If it's not abundantly clear now then it surely won't be to any future devs.
So perhaps just drop it.
--
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]