Unverified Commit 3c1f6886 authored by Sean McGivern's avatar Sean McGivern
Browse files

Remove unnecessary rescue in Sidekiq#probe_jobs_limit

parent 5817ec56
...@@ -123,8 +123,6 @@ module GitLab ...@@ -123,8 +123,6 @@ module GitLab
job_stats[job_class] += 1 job_stats[job_class] += 1
end end
end end
rescue Redis::CommandError # Could happen if the script exceeded the maximum run time (5 seconds by default)
return self
end end
job_stats.each do |class_name, count| job_stats.each do |class_name, count|
......
Supports Markdown
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