gitlab-org--gitlab-foss/app/services/issues
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
..
base_service.rb Scope hooks thal will run for confidential issues 2016-08-31 18:34:45 -03:00
close_service.rb Process commits in a separate worker 2016-11-07 13:11:44 +01:00
create_service.rb Fix specs and implement fixes based on failing specs 2016-08-17 17:54:24 -05:00
move_service.rb Include global labels when moving an issue to another project 2016-10-19 14:58:25 -02:00
reopen_service.rb Enforce permissions in {Issues,MergeRequests}::{Close,Reopen}Service 2016-08-13 00:06:11 +02:00
update_service.rb Send notification emails when users are newly mentioned in issue edits 2016-08-12 22:54:32 +01:00