Commit 6174ea77 authored by Yorick Peterse's avatar Yorick Peterse

Backport support for finding EE workers

This backports support for finding EE workers in ee/app/workers from EE
to CE, since we already do this for the configuration paths constant.
This removes the need for EE specific modules.
parent ae9838d0
......@@ -48,7 +48,9 @@ module Gitlab
end
def self.workers
@workers ||= find_workers(Rails.root.join('app', 'workers'))
@workers ||=
find_workers(Rails.root.join('app', 'workers')) +
find_workers(Rails.root.join('ee', 'app', 'workers'))
end
def self.find_workers(root)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment