vincbeck commented on code in PR #60274:
URL: https://github.com/apache/airflow/pull/60274#discussion_r2690633184
##########
providers/fab/src/airflow/providers/fab/auth_manager/fab_auth_manager.py:
##########
@@ -161,6 +162,7 @@
MenuItem.XCOMS: RESOURCE_XCOM,
}
+CACHE_TTL = conf.getint("fab", "cache_ttl", fallback=30)
Review Comment:
Have you tried to update this value in the config? By setting this constant
at the module level I am not sure Airflow has time to load config from
providers before loading this file. Instead of a constant at the module level,
I would create a property with `@cached_property` in `FabAuthManager`
--
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]