The number of seconds that need to pass since connection creation before expiring a connection. Defaults to 14400 seconds (4 hours).
Initialize the data structures used by this extension.
# File lib/sequel/extensions/connection_expiration.rb, line 42 def self.extended(pool) pool.instance_eval do sync do @connection_expiration_timestamps ||= {} @connection_expiration_timeout ||= 14400 end end end