Commit c4263dfb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix BackgroundJobs page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent ae4ae2b2
...@@ -14,27 +14,21 @@ ...@@ -14,27 +14,21 @@
%table.table %table.table
%thead %thead
%th USER %th USER
%th
%th PID %th PID
%th
%th CPU %th CPU
%th
%th MEM %th MEM
%th
%th STATE %th STATE
%th
%th START %th START
%th
%th COMMAND %th COMMAND
%th %tbody
- @sidekiq_processes.split("\n").each do |process| - @sidekiq_processes.each do |process|
- next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/) - next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/)
- data = process.gsub!(/\s+/m, '|').strip.split('|') - data = process.strip.split(' ')
%tr %tr
- 6.times do %td= Settings.gitlab.user
- 5.times do
%td= data.shift %td= data.shift
%td %td= data.join(' ')
%td= data.join(" ")
.clearfix .clearfix
%p %p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment