Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,10 @@ def self.new_connection(config)
database
end
OCI8.properties[:tcp_keepalive] = true
OCI8.properties[:tcp_keepalive_time] = 600
begin
OCI8.properties[:tcp_keepalive_time] = 600
rescue NotImplementedError
end
conn = OCI8.new username, password, connection_string, privilege
conn.autocommit = true
conn.non_blocking = true if async
Expand Down