# File lib/seamless_database_pool.rb, line 86 def read_only_connection_type(default = :master) connection_type = Thread.current[:read_only_connection] || default connection_type = :persistent if connection_type.kind_of?(Hash) return connection_type end