gitlab-org--gitlab-foss/app/policies
Yorick Peterse 509910b89f
Process commits in a separate worker
This moves the code used for processing commits from GitPushService to
its own Sidekiq worker: ProcessCommitWorker.

Using a Sidekiq worker allows us to process multiple commits in
parallel. This in turn will lead to issues being closed faster and cross
references being created faster. Furthermore by isolating this code into
a separate class it's easier to test and maintain the code.

The new worker also ensures it can efficiently check which issues can be
closed, without having to run numerous SQL queries for every issue.
2016-11-07 13:11:44 +01:00
..
ci port runners, namespaces, group/project_members 2016-08-30 11:39:22 -07:00
base_policy.rb s/NB:/NOTE:/ 2016-08-30 15:55:28 -07:00
commit_status_policy.rb port CommitStatus/Build 2016-08-30 11:39:22 -07:00
deployment_policy.rb add Deployment, Environment, and ExternalIssue policies 2016-08-30 11:39:22 -07:00
environment_policy.rb add Deployment, Environment, and ExternalIssue policies 2016-08-30 11:39:22 -07:00
external_issue_policy.rb add Deployment, Environment, and ExternalIssue policies 2016-08-30 11:39:22 -07:00
global_policy.rb line break after guard clause 2016-08-30 11:39:22 -07:00
group_label_policy.rb Use delegate! on group and project labels policies 2016-10-19 14:58:26 -02:00
group_member_policy.rb port runners, namespaces, group/project_members 2016-08-30 11:39:22 -07:00
group_policy.rb Add CRUD for Group Labels 2016-10-19 14:57:15 -02:00
issuable_policy.rb Added IssueCollection 2016-11-07 12:49:24 +01:00
issue_policy.rb Process commits in a separate worker 2016-11-07 13:11:44 +01:00
merge_request_policy.rb add and use MergeRequestPolicy 2016-08-30 11:39:22 -07:00
namespace_policy.rb port runners, namespaces, group/project_members 2016-08-30 11:39:22 -07:00
note_policy.rb port notes and project snippets 2016-08-30 11:39:22 -07:00
personal_snippet_policy.rb add personal snippets and project members 2016-08-30 11:39:22 -07:00
project_label_policy.rb Use delegate! on group and project labels policies 2016-10-19 14:58:26 -02:00
project_member_policy.rb add personal snippets and project members 2016-08-30 11:39:22 -07:00
project_policy.rb Allow owners to fetch source code in CI builds 2016-11-01 09:37:20 +01:00
project_snippet_policy.rb port notes and project snippets 2016-08-30 11:39:22 -07:00
user_policy.rb port UserPolicy 2016-08-30 11:39:22 -07:00