fat-catTW commented on code in PR #76925:
URL: https://github.com/apache/airflow/pull/76925#discussion_r4548378181
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_tags.py:
##########
@@ -58,7 +58,7 @@ def get_dag_tags(
tag_name_pattern: QueryDagTagPatternSearch,
tag_name_prefix_pattern: QueryDagTagPrefixPatternSearch,
readable_tags_filter: ReadableTagsFilterDep,
Review Comment:
Thanks for the pr.
I think `ReadableTagsFilterDep` ultimately calls `get_authorized_dag_ids()`
synchronously; the base and FAB implementations use `Session.execute()`.
This authorization lookup can still block a FastAPI threadpool worker on
every request.
Could we migrate it to an async path too?
--
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]