Skip to content

Commit

Permalink
separate idle and waiting tasks for dataset view
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 10, 2024
1 parent 93988ed commit 3c5e0d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iceprod/website/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ async def get(self, dataset_id):
task_info[t] = {
'name': t,
'type': type_,
'waiting': task_info[t].get('waiting', 0) + task_info[t].get('idle', 0),
'idle': task_info[t].get('idle', 0),
'waiting': task_info[t].get('waiting', 0),
'queued': task_info[t].get('queued', 0),
'running': task_info[t].get('processing', 0),
'complete': task_info[t].get('complete', 0),
Expand Down

0 comments on commit 3c5e0d6

Please sign in to comment.