Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce extraneous task log requests #27233

Merged
merged 1 commit into from Oct 25, 2022

Conversation

bbovenzi
Copy link
Contributor

Only refresh task logs request when the task state is pending.
Also, use isLazy to only load the tasks component when the tab is active, preventing background API calls.

Fixes: #26912


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Oct 24, 2022
@bbovenzi bbovenzi added this to the Airflow 2.4.3 milestone Oct 24, 2022
@bbovenzi bbovenzi merged commit e73e90e into apache:main Oct 25, 2022
@bbovenzi bbovenzi deleted the reduce-api-logs-refresh branch October 25, 2022 14:26
ephraimbuddy pushed a commit that referenced this pull request Nov 9, 2022
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Nov 9, 2022
ephraimbuddy pushed a commit that referenced this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log-tab under grid view is automatically re-fetching completed logs every 3 sec.
3 participants