Skip to content
Snippets Groups Projects
Commit fa4156e1 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Worker: logging typo

parent d5c273bc
Branches
Tags
No related merge requests found
......@@ -137,7 +137,7 @@ class FlamencoWorker:
# schedule a future run. This may result in the task not being awaited when we are
# shutting down.
if self.shutdown_future.done():
self.log.warning('Shutting down, not scheduling another fetch-task task.')
self._log.warning('Shutting down, not scheduling another fetch-task task.')
return
self.fetch_task_task = asyncio.ensure_future(self.fetch_task(delay), loop=self.loop)
......@@ -255,6 +255,8 @@ class FlamencoWorker:
hundreds of times per second, without worrying about network overhead.
"""
self._log.debug('Task update: task_status=%s, %s', task_status, kwargs)
# Update the current activity
for key, value in kwargs.items():
setattr(self.last_task_activity, key, value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment