lib/fasten/ui/curses.rb in fasten-0.6.0 vs lib/fasten/ui/curses.rb in fasten-0.7.0
- old
+ new
@@ -127,10 +127,10 @@
def ui_workers_summary
running_count = task_running_list.count
waiting_count = task_waiting_list.count
workers_count = worker_list.count
- "Procs run: #{running_count} idle: #{workers_count - running_count} #{runner.use_threads ? 'threads' : 'processes'}: #{workers} wait: #{waiting_count}"
+ "Procs running: #{running_count} idle: #{workers_count - running_count} waiting: #{waiting_count} #{runner.use_threads ? 'threads' : 'processes'}: #{workers}"
end
def ui_workers
l = ui_text_aligned(1, :left, ui_workers_summary) + 1