diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
commit | 5afcbe03ead9ada87621888a31a62652b10a7e4f (patch) | |
tree | 9918b67a0d0f0bafa6542e839a8be37adf73102d /lib/system_check/sidekiq_check.rb | |
parent | c97c0201564848c1f53226fe19d71fdcc472f7d0 (diff) |
Add latest changes from gitlab-org/gitlab@16-4-stable-eev16.4.0-rc42
Diffstat (limited to 'lib/system_check/sidekiq_check.rb')
-rw-r--r-- | lib/system_check/sidekiq_check.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system_check/sidekiq_check.rb b/lib/system_check/sidekiq_check.rb index 777e06f7501..f1e2566db29 100644 --- a/lib/system_check/sidekiq_check.rb +++ b/lib/system_check/sidekiq_check.rb @@ -60,12 +60,12 @@ module SystemCheck end def sidekiq_worker_process_count - ps_ux, _ = Gitlab::Popen.popen(%w(ps uxww)) + ps_ux, _ = Gitlab::Popen.popen(%w[ps uxww]) ps_ux.lines.grep(/sidekiq \d+\.\d+\.\d+/).count end def sidekiq_cluster_process_count - ps_ux, _ = Gitlab::Popen.popen(%w(ps uxww)) + ps_ux, _ = Gitlab::Popen.popen(%w[ps uxww]) ps_ux.lines.grep(/sidekiq-cluster/).count end end |