-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Fix proctitle for generator tasks (#36928)
For static and dynamic generator tasks, the actual task execution is inside store_task_outputs when we iterator over the generator but _changeproctitle context manager doesn't cover that part and that's why the proctitle shows as IDLE. The fix is to increase the scope of _changeproctitle so that now it covers the entire task execution including deserializing args, execution, storing outputs. Signed-off-by: Jiajun Yao <jeromeyjj@gmail.com>
- Loading branch information
Showing
2 changed files
with
85 additions
and
58 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