Skip to content

Commit

Permalink
Fix panic on evict w/ buffered tasks (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource authored Dec 14, 2023
1 parent 3c724a0 commit c84eff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/worker/workflow/workflow_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ impl WFStream {
// We accept that there might be query tasks remaining in the buffer if we evicted
// and re-instantiated here. It's likely those tasks are now invalidated anyway.
if maybe_buffered.has_tasks() && should_evict {
panic!("There were leftover buffered tasks");
warn!("There were leftover buffered tasks when evicting run");
}
}
}
Expand Down

0 comments on commit c84eff0

Please sign in to comment.