Shut up, Rubocop
This commit is contained in:
parent
77daebe660
commit
7ef35b9c61
|
@ -1,9 +1,9 @@
|
|||
module RepositoryCheck
|
||||
class ClearWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
|
||||
sidekiq_options retry: false
|
||||
|
||||
|
||||
def perform
|
||||
# Do small batched updates because these updates will be slow and locking
|
||||
Project.select(:id).find_in_batches(batch_size: 100) do |batch|
|
||||
|
@ -14,4 +14,4 @@ module RepositoryCheck
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue