Skip to content

Commit c84eff0

Browse files
authored
Fix panic on evict w/ buffered tasks (#660)
1 parent 3c724a0 commit c84eff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/worker/workflow/workflow_stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ impl WFStream {
386386
// We accept that there might be query tasks remaining in the buffer if we evicted
387387
// and re-instantiated here. It's likely those tasks are now invalidated anyway.
388388
if maybe_buffered.has_tasks() && should_evict {
389-
panic!("There were leftover buffered tasks");
389+
warn!("There were leftover buffered tasks when evicting run");
390390
}
391391
}
392392
}

0 commit comments

Comments
 (0)