instance method
keepalive
Ruby on Rails 8.1.2
Since v8.1.2Signature
keepalive()
No documentation comment.
Source
# File activerecord/lib/active_record/database_configurations/hash_config.rb, line 125
def keepalive
keepalive = (configuration_hash[:keepalive] || 600).to_f
keepalive if keepalive > 0
end
Defined in activerecord/lib/active_record/database_configurations/hash_config.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub