fix: don't wait for jfjoch cancellation

This commit is contained in:
David Perl
2026-09-17 14:31:08 +02:00
committed by perl_d
parent fda50286d2
commit 4fc93b92aa
+1 -3
View File
@@ -114,7 +114,7 @@ class JFJochWrapper:
) from e
@needs_init
def cancel(self, on_init: bool = False, wait_for_done: bool = False):
def cancel(self, on_init: bool = False):
try:
self._api.cancel_post()
except Exception as e:
@@ -124,8 +124,6 @@ class JFJochWrapper:
operation="POST",
endpoint="cancel_post",
) from e
if wait_for_done:
self._api.wait_till_done_post(1)
@needs_init
def is_idle(self) -> bool: