ashb commented on a change in pull request #6792: [AIRFLOW-5930] Use cached-SQL
query building for hot-path queries
URL: https://github.com/apache/airflow/pull/6792#discussion_r357104629
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1006,8 +978,7 @@ def _change_state_for_tis_without_dagrun(self,
)
Stats.gauge('scheduler.tasks.without_dagrun', tis_changed)
- @provide_session
- def __get_concurrency_maps(self, states, session=None):
+ def __get_concurrency_maps(self, states, session):
Review comment:
Because I _want_ to force a session to be reused.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services