Commit f4725637 authored by Furkan Ayhan's avatar Furkan Ayhan

Add prefix for DuplicateJob class

It causes "uninitialized constant" error without it
parent 509fc9c9
...@@ -5,7 +5,7 @@ module Gitlab ...@@ -5,7 +5,7 @@ module Gitlab
module DuplicateJobs module DuplicateJobs
class Server class Server
def call(worker, job, queue, &block) def call(worker, job, queue, &block)
DuplicateJob.new(job, queue).perform(&block) ::Gitlab::SidekiqMiddleware::DuplicateJobs::DuplicateJob.new(job, queue).perform(&block)
end end
end end
end end
......
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