diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-04-14 12:28:48 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-14 12:28:48 -0400 |
commit | 7ef35b9c61b61b6cf03f20ce4ab34272404dca40 (patch) | |
tree | bb3897df2f49d6a599ff58d0d5ff1ae3c2f55251 | |
parent | 77daebe660eb3f4189ca6339e0fcd634abffe3fa (diff) | |
download | gitlab-ce-7ef35b9c61b61b6cf03f20ce4ab34272404dca40.tar.gz |
Shut up, Rubocop
-rw-r--r-- | app/workers/repository_check/clear_worker.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/workers/repository_check/clear_worker.rb b/app/workers/repository_check/clear_worker.rb index 9c3347a7040..b7202ddff34 100644 --- a/app/workers/repository_check/clear_worker.rb +++ b/app/workers/repository_check/clear_worker.rb @@ -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
\ No newline at end of file +end |