Welcome to mirror list, hosted at ThFree Co, Russian Federation.

config.rb « action_cable « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 77d4ec0733d9ed940f70164d9205c9845330c7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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