BigW Consortium Gitlab
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ci | Loading commit data... | |
base_policy.rb | Loading commit data... | |
commit_status_policy.rb | Loading commit data... | |
deployment_policy.rb | Loading commit data... | |
environment_policy.rb | Loading commit data... | |
external_issue_policy.rb | Loading commit data... | |
global_policy.rb | Loading commit data... | |
group_label_policy.rb | Loading commit data... | |
group_member_policy.rb | Loading commit data... | |
group_policy.rb | Loading commit data... | |
issuable_policy.rb | Loading commit data... | |
issue_policy.rb | Loading commit data... | |
merge_request_policy.rb | Loading commit data... | |
namespace_policy.rb | Loading commit data... | |
note_policy.rb | Loading commit data... | |
personal_snippet_policy.rb | Loading commit data... | |
project_label_policy.rb | Loading commit data... | |
project_member_policy.rb | Loading commit data... | |
project_policy.rb | Loading commit data... | |
project_snippet_policy.rb | Loading commit data... | |
user_policy.rb | Loading commit data... |