summaryrefslogtreecommitdiff
path: root/app/workers/repository_check/batch_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/repository_check/batch_worker.rb')
-rw-r--r--app/workers/repository_check/batch_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/repository_check/batch_worker.rb b/app/workers/repository_check/batch_worker.rb
index 544c1fe545b..a76ae3abbe7 100644
--- a/app/workers/repository_check/batch_worker.rb
+++ b/app/workers/repository_check/batch_worker.rb
@@ -6,7 +6,7 @@ module RepositoryCheck
RUN_TIME = 3600
def perform
- break unless Gitlab::CurrentSettings.repository_checks_enabled
+ return unless Gitlab::CurrentSettings.repository_checks_enabled
start = Time.now