method
max_connections
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::HashConfig
max_connections()public
No documentation available.
# File activerecord/lib/active_record/database_configurations/hash_config.rb, line 73
def max_connections
max_connections = configuration_hash.fetch(:max_connections) {
configuration_hash.fetch(:pool, 5)
}&.to_i
max_connections if max_connections && max_connections >= 0
end