Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Remove the 'duration' field from RPC Task dict representation (#4327)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranciszkiewicz authored and mdtanrikulu committed Jun 12, 2019
1 parent b78e6c5 commit 52611d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion golem/task/taskmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,6 @@ def get_task_dict(self, task_id) -> Optional[Dict]:
state = self.query_task_state(task.header.task_id)

dictionary = {
'duration': state.elapsed_time,
# single=True retrieves one preview file. If rendering frames,
# it's the preview of the most recently computed frame.
'preview': task_type.get_preview(task, single=True)
Expand Down

0 comments on commit 52611d8

Please # to comment.