Skip to content

Commit 46f2af7

Browse files
author
Andrei Neagu
committed
Merge branch 'pr-osparc-resilient-long-running-decorator' of github.com:GitHK/osparc-simcore-forked into pr-osparc-resilient-long-running-decorator
2 parents 3d310f4 + f1fb325 commit 46f2af7

File tree

1 file changed

+1
-1
lines changed
  • packages/service-library/src/servicelib/long_running_tasks

1 file changed

+1
-1
lines changed

packages/service-library/src/servicelib/long_running_tasks/_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ async def _cancel_asyncio_task(
262262
await asyncio.wait_for(
263263
_await_task(task), timeout=self._cancel_task_timeout_s
264264
)
265-
except TimeoutError:
265+
except asyncio.TimeoutError:
266266
logger.warning(
267267
"Timed out while awaiting for cancellation of '%s'", reference
268268
)

0 commit comments

Comments
 (0)