Browse files

PGconn doesn't accepts :checkout_timeout option.

This option was added on cb6f839
renaming the :wait_timeout option.

Fix build!/rails/rails/jobs/1413405
  • Loading branch information...
1 parent 91305ad commit 925f6bd546bd719c85b0566157ea5c17cfcd612d @rafaelfranca rafaelfranca committed May 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
2 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -18,7 +18,7 @@ def postgresql_connection(config) # :nodoc:
# Forward any unused config params to PGconn.connect.
[:statement_limit, :encoding, :min_messages, :schema_search_path,
- :schema_order, :adapter, :pool, :wait_timeout, :template,
+ :schema_order, :adapter, :pool, :checkout_timeout, :template,
:reaping_frequency, :insert_returning].each do |key|
conn_params.delete key

0 comments on commit 925f6bd

Please sign in to comment.