Commit bdbc1e55 authored by Nicolas Dular's avatar Nicolas Dular

Fix autoloading issue for SizeLimiter::Client

parent 3c0902c7
...@@ -9,7 +9,7 @@ module Gitlab ...@@ -9,7 +9,7 @@ module Gitlab
# https://github.com/mperham/sidekiq/wiki/Best-Practices#1-make-your-job-parameters-small-and-simple # https://github.com/mperham/sidekiq/wiki/Best-Practices#1-make-your-job-parameters-small-and-simple
class Client class Client
def call(worker_class, job, queue, _redis_pool) def call(worker_class, job, queue, _redis_pool)
Validator.validate!(worker_class, job) ::Gitlab::SidekiqMiddleware::SizeLimiter::Validator.validate!(worker_class, job)
yield yield
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