Skip to content

Commit 1e758b7

Browse files
peaseeCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 20e77b6 commit 1e758b7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ballista/executor/src/execution_loop.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ where
174174
Ok(Err(_)) => {
175175
// Semaphore closed - should not happen in normal operation
176176
warn!("Task slot semaphore closed unexpectedly");
177-
break Ok(());
177+
return Err(BallistaError::General(
178+
"Task slot semaphore closed unexpectedly".to_string(),
179+
));
178180
}
179181
Err(_) => {
180182
// Timeout: all task slots are busy. Continue to call poll_work

0 commit comments

Comments
 (0)