summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-04-14 12:28:48 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-04-14 12:28:48 -0400
commit7ef35b9c61b61b6cf03f20ce4ab34272404dca40 (patch)
treebb3897df2f49d6a599ff58d0d5ff1ae3c2f55251 /app/workers
parent77daebe660eb3f4189ca6339e0fcd634abffe3fa (diff)
downloadgitlab-ce-7ef35b9c61b61b6cf03f20ce4ab34272404dca40.tar.gz
Shut up, Rubocop
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/repository_check/clear_worker.rb6
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