Skip to content

Commit

Permalink
Revert "Added runningDownloads to queue length return"
Browse files Browse the repository at this point in the history
  • Loading branch information
vJan00 authored Dec 1, 2023
1 parent 5e57818 commit 1848e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def system_status():
"swap_usage": round(psutil.swap_memory().percent, 1),
"swap_free": round(psutil.swap_memory().free
* 100 / psutil.swap_memory().total, 1),
"queue_length": (ts_api.queue.qsize() + len(ts_api.runningDownloads)),
"queue_length": ts_api.queue.qsize(),
"running_jobs": len(ts_api.runningJobs),
"parallel_jobs": int(os.environ.get("parallel_workers")),
"running_downloads": len(ts_api.runningDownloads)
Expand Down

0 comments on commit 1848e51

Please sign in to comment.