Skip to content

Commit a10f065

Browse files
author
Andrei Neagu
committed
removed
1 parent 2a34259 commit a10f065

File tree

1 file changed

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

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ async def teardown(self) -> None:
199199

200200
# stale_tasks_monitor
201201
if self._task_stale_tasks_monitor:
202-
# since the task is using a redis lock if the lock could not be acquired
203-
# trying to cancel the task will hang, this avoids hanging
204-
# there are no sideeffects in timing out this cancellation
205-
# with log_catch(_logger, reraise=False):
206202
await cancel_wait_task(
207203
self._task_stale_tasks_monitor,
208204
max_delay=_MAX_EXCLUSIVE_TASK_CANCEL_TIMEOUT,

0 commit comments

Comments
 (0)