Commit 7ef35b9c authored by Robert Speicher's avatar Robert Speicher

Shut up, Rubocop

parent 77daebe6
module RepositoryCheck module RepositoryCheck
class ClearWorker class ClearWorker
include Sidekiq::Worker include Sidekiq::Worker
sidekiq_options retry: false sidekiq_options retry: false
def perform def perform
# Do small batched updates because these updates will be slow and locking # Do small batched updates because these updates will be slow and locking
Project.select(:id).find_in_batches(batch_size: 100) do |batch| Project.select(:id).find_in_batches(batch_size: 100) do |batch|
...@@ -14,4 +14,4 @@ module RepositoryCheck ...@@ -14,4 +14,4 @@ module RepositoryCheck
end end
end end
end end
end end
\ No newline at end of file
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