sessionm-cassandra_object 2.5.5 → 2.5.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -170,7 +170,7 @@ module CassandraObject
|
|
170
170
|
end
|
171
171
|
|
172
172
|
def self.connection()
|
173
|
-
self.connection_spec[:datacenter] ? self.
|
173
|
+
self.connection_spec[:datacenter] ? self.ranged_connection_pool.connection : self.connection_pool.connection
|
174
174
|
end
|
175
175
|
def self.connection?() !!connection end
|
176
176
|
|