Method: MessageBus::Implementation#max_active_clients
- Defined in:
- lib/message_bus.rb
#max_active_clients ⇒ Integer
Returns The number of simultaneous clients we can service; will revert to polling if we are out of slots. Defaults to 1000 if not explicitly set.
100 101 102 |
# File 'lib/message_bus.rb', line 100 def max_active_clients @config[:max_active_clients] || 1000 end |