mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 00:01:37 +00:00
only stop wait on child on ok changes values
This commit is contained in:
@@ -1574,7 +1574,7 @@ async fn handle_child(
|
||||
let kill_reason = tokio::select! {
|
||||
biased;
|
||||
result = child.wait() => return result.map(Ok),
|
||||
_ = too_many_logs.changed() => KillReason::TooManyLogs,
|
||||
Ok(()) = too_many_logs.changed() => KillReason::TooManyLogs,
|
||||
_ = cancel_check => KillReason::Cancelled,
|
||||
_ = sleep(timeout) => KillReason::Timeout,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user