There is timeout config in config example, but it looks it won't be used, flow this line:
|
RS_VALID_CONN_PARAMS = [:host, :hostaddr, :port, :dbname, :user, :password, :connect_timeout, |
timeout is not a valid config so.
I think it should be connect_timeout or variables:statement_timeout:
development:
adapter: redshift
host: your_cluster_name.hashhash.ap-northeast-1.redshift.amazonaws.com
port: 5439
database: dev
username: your_user
password: your_password
encoding: utf8
pool: 3
connect_timeout: 5000
variables:
statement_timeout: 5000
There is
timeoutconfig in config example, but it looks it won't be used, flow this line:activerecord4-redshift-adapter/lib/active_record/connection_adapters/redshift_adapter.rb
Line 23 in 1b17aa7
timeoutis not a valid config so.I think it should be
connect_timeoutorvariables:statement_timeout: