Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system_check/sidekiq_check.rb')
-rw-r--r--lib/system_check/sidekiq_check.rb4
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