We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e0db2 commit 75e9d66Copy full SHA for 75e9d66
robotcode/utils/async_tools.py
@@ -462,7 +462,8 @@ async def acquire(self) -> bool:
462
try:
463
464
def aaa(s: Any) -> None:
465
- warnings.warn(f"Lock takes to long {threading.current_thread()}\n{s}")
+ warnings.warn(f"Lock takes to long {threading.current_thread()}\n{s}, try to cancel...")
466
+ fut.cancel()
467
468
h = fut.get_loop().call_later(120, aaa, "".join(traceback.format_stack()))
469
0 commit comments