Skip to content

Commit fddc159

Browse files
committed
Remove timeout setting for connection in tend_connection method
1 parent 6e539f4 commit fddc159

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/aerospike/node.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ def put_connection(conn)
120120
def tend_connection
121121
if @tend_connection.nil? || @tend_connection.closed?
122122
@tend_connection = Cluster::CreateConnection.(cluster, host)
123-
@tend_connection.timeout = cluster.connection_timeout
124-
@tend_connection
125123
end
126124
@tend_connection
127125
end

0 commit comments

Comments
 (0)