lib/zold/node/front.rb in zold-0.11.4 vs lib/zold/node/front.rb in zold-0.11.5
- old
+ new
@@ -106,9 +106,10 @@
version: VERSION,
score: score.to_h,
pid: Process.pid,
cpus: Concurrent.processor_count,
uptime: `uptime`.strip,
+ threads: Thread.list.select { |t| t.status == 'run' }.count,
wallets: settings.wallets.all.count,
remotes: settings.remotes.all.count,
farm: settings.farm.to_json,
date: `date --iso-8601=seconds -u`.strip,
hours_alive: ((Time.now - settings.start) / (60 * 60)).round(2),