mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-03 16:37:48 +00:00
14 lines
302 B
Ruby
14 lines
302 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module SidekiqMiddleware
|
|
module Throttling
|
|
class Server
|
|
def call(worker_class, _job, _queue, &block)
|
|
::Gitlab::SidekiqMiddleware::Throttling::Middleware.new(worker_class).perform(&block)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|