debian-mirror-gitlab/lib/gitlab/action_cable/config.rb
2021-12-11 22:18:48 +05:30

13 lines
233 B
Ruby

# frozen_string_literal: true
module Gitlab
module ActionCable
class Config
class << self
def worker_pool_size
ENV.fetch('ACTION_CABLE_WORKER_POOL_SIZE', 4).to_i
end
end
end
end
end