Class: Git::BranchHooksService

Inherits:
BaseHooksService show all
Extended by:
Gitlab::Utils::Override
Defined in:
app/services/git/branch_hooks_service.rb

Constant Summary collapse

JIRA_SYNC_BATCH_SIZE =
20
JIRA_SYNC_BATCH_DELAY =
10.seconds

Constants inherited from BaseHooksService

Git::BaseHooksService::PROCESS_COMMIT_LIMIT

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods included from Gitlab::Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods inherited from BaseService

#initialize

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from BaseService

Instance Method Details

#executeObject



10
11
12
13
14
15
16
# File 'app/services/git/branch_hooks_service.rb', line 10

def execute
  execute_branch_hooks

  super.tap do
    enqueue_update_signatures
  end
end