method

keepalive

rails latest stable - Class: ActiveRecord::DatabaseConfigurations::HashConfig

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

keepalive()
public

No documentation available.

# 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