Skip to content

Commit 41636d7

Browse files
author
Andrei Neagu
committed
fixed tests
1 parent 2cda61e commit 41636d7

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ async def get_task_status(
266266
"""
267267
task_data: TaskData = await self._get_tracked_task(task_id, with_task_context)
268268
task_data.last_status_check = datetime.datetime.now(tz=datetime.UTC)
269+
await self._tasks_data.set_task_data(task_id, task_data)
269270

270271
task = self._created_tasks[task_id]
271272
done = task.done()

0 commit comments

Comments
 (0)