mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Show only processes owned by the GitLab user on the Admin-Sidekiq page
See the Pull-Request #5191
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
.ui-box
|
||||
%iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"}
|
||||
%h4 Sidekiq running processes
|
||||
- sidekiq_processes = `ps -eo euser,pid,pcpu,pmem,stat,start,command | grep sidekiq | grep -v grep`
|
||||
- sidekiq_processes = `ps -U #{Settings.gitlab.user} -o euser,pid,pcpu,pmem,stat,start,command | grep sidekiq | grep -v grep`
|
||||
- if sidekiq_processes.empty?
|
||||
%b There are no running sidekiq processes
|
||||
%b Please restart GitLab
|
||||
|
||||
Reference in New Issue
Block a user