Skip to content

Commit 67fc614

Browse files
committed
Don't interrupt threads from Rust
1 parent 99a93f8 commit 67fc614

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

temporalio/worker/_workflow.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,7 @@ def attempt_deadlock_interruption(self) -> None:
667667
return
668668
deadlocked_thread_id = self.instance.get_thread_id()
669669
if deadlocked_thread_id:
670-
temporalio.bridge.runtime.Runtime._raise_in_thread(
671-
deadlocked_thread_id, _InterruptDeadlockError
672-
)
670+
pass
673671

674672

675673
class _InterruptDeadlockError(BaseException):

0 commit comments

Comments
 (0)