Skip to content

feat(framework): skip to update progress of subtasks#8154

Merged
klesh merged 1 commit into
apache:mainfrom
narrowizard:8142-skip-subtask-progress
Oct 23, 2024
Merged

feat(framework): skip to update progress of subtasks#8154
klesh merged 1 commit into
apache:mainfrom
narrowizard:8142-skip-subtask-progress

Conversation

@narrowizard
Copy link
Copy Markdown
Collaborator

@narrowizard narrowizard commented Oct 23, 2024

  • add env SKIP_SUBTASK_PROGRESS to decide wether skip subtask progress updating to db

#8142

Summary

To further reduce the impact caused by the expansion of the subtask table, I have added another environment variable that allows selectively skipping the subtask progress update operation.

#8142

Screenshots

set SKIP_SUBTASK_PROGRESS=true
image
image

unset SKIP_SUBTASK_PROGRESS
image

Other Information

There were too many logs skip subtask progress update, so I removed the log finally.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. component/framework This issue or PR relates to the framework pr-type/feature-development This PR is to develop a new feature labels Oct 23, 2024
- add env SKIP_SUBTASK_PROGRESS to decide wether skip subtask progress updating to db
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Oct 23, 2024
@klesh klesh merged commit 5235a97 into apache:main Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/framework This issue or PR relates to the framework lgtm This PR has been approved by a maintainer pr-type/feature-development This PR is to develop a new feature size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants