Class: Gitlab::ActionCable::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/action_cable/config.rb

Class Method Summary collapse

Class Method Details

.worker_pool_sizeObject



7
8
9
# File 'lib/gitlab/action_cable/config.rb', line 7

def worker_pool_size
  ENV.fetch('ACTION_CABLE_WORKER_POOL_SIZE', 4).to_i
end