-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up most Users/Role CLI commands (#28259)
Originally those command were initializing whole Airflow Flask webserver, which was much more than what was needed - we only need to initialize Flask Appblication Builder. In case you have slow DB this limits significantly not only a number of imported classses but also a number of DB connections. In some cases the speed of those CLI commands will visibly go down from 10s of seonds to individual seconds (3x - 5x times). Follow up after #28242, #28244
- Loading branch information
Showing
7 changed files
with
293 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.