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

runner/streamer: Fix nested process restart #361

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

victorges
Copy link
Member

We call the stop/restart function from coroutines that will be stopped as well by such functions. As such we should not await them otherwise there will be a recursive cancellation happening.

The right way is to create_task and let them execute in backgrund.

We call the stop/restart function from coroutines that
will be stopped as well by such functions. As such
we should not await them otherwise there will be a
recursive cancellation happening.

The right way is to create_task and let them execute
in backgrund.
@victorges victorges requested a review from rickstaa as a code owner December 12, 2024 21:19
@victorges victorges merged commit bb402bf into main Dec 12, 2024
3 of 7 checks passed
@victorges victorges deleted the vg/fix/task-restart branch December 12, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant