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 2a34259 commit a10f065Copy full SHA for a10f065
packages/service-library/src/servicelib/long_running_tasks/task.py
@@ -199,10 +199,6 @@ async def teardown(self) -> None:
199
200
# stale_tasks_monitor
201
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):
206
await cancel_wait_task(
207
self._task_stale_tasks_monitor,
208
max_delay=_MAX_EXCLUSIVE_TASK_CANCEL_TIMEOUT,
0 commit comments