Commit 323928b1 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'nicolas/fix-size-limiter-middleware-error' into 'master'

Fix autoloading issue for SidekiqMiddleware::SizeLimiter::Client

See merge request gitlab-org/gitlab!56120
parents d45b120c bdbc1e55
...@@ -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