Class: Git::BranchHooksService

Inherits:
BaseHooksService show all
Extended by:
Gitlab::Utils::Override
Includes:
Gitlab::InternalEventsTracking
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

Constants inherited from BaseService

BaseService::UnauthorizedError

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 included from Gitlab::InternalEventsTracking

#track_internal_event

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?, #can_all?, #can_any?

Constructor Details

This class inherits a constructor from BaseService

Instance Method Details

#executeObject



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

def execute
  execute_branch_hooks

  super.tap do
    enqueue_update_signatures
  end
end