method
max_age
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::HashConfig
max_age()public
No documentation available.
# File activerecord/lib/active_record/database_configurations/hash_config.rb, line 95
def max_age
v = configuration_hash[:max_age]&.to_i
if v && v > 0
v
else
Float::INFINITY
end
end