diff options
Diffstat (limited to 'app/services/git/branch_hooks_service.rb')
-rw-r--r-- | app/services/git/branch_hooks_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git/branch_hooks_service.rb b/app/services/git/branch_hooks_service.rb index 31da099d078..a2eb4f1f396 100644 --- a/app/services/git/branch_hooks_service.rb +++ b/app/services/git/branch_hooks_service.rb @@ -156,7 +156,7 @@ module Git return if branch_to_sync.nil? && commits_to_sync.empty? - if commits_to_sync.any? && Feature.enabled?(:batch_delay_jira_branch_sync_worker, project) + if commits_to_sync.any? commits_to_sync.each_slice(JIRA_SYNC_BATCH_SIZE).with_index do |commits, i| JiraConnect::SyncBranchWorker.perform_in( JIRA_SYNC_BATCH_DELAY * i, |