Sha256: 8b092ce3e7bc078bd8097a10f377ea5d9807b3a0c3599c31339feab9d53f65bb
Contents?: true
Size: 645 Bytes
Versions: 14
Compression:
Stored size: 645 Bytes
Contents
%h2 Workers %table.table.table-striped.table-hover.table-condensed %tr %th ID %th status %th job %th.text-right seen - @worker_variables.each do |vars| - wid = vars[:wid] - status = vars[:status] - alive = $pool.worker_alive? wid - trclass = WORKER_STYLES[status] - unless alive - trclass = "danger" - status = "DEAD" - if vars[:updted_at].is_a? Time - no_news_for = (Time.now - vars[:updted_at]).round(0) - else - no_news_for = "?" %tr{class: trclass.to_s} %td= wid %td= status %td= vars[:jid] %td.text-right = "#{no_news_for} s"
Version data entries
14 entries across 14 versions & 1 rubygems