Method: Amazon#connection_params

Defined in:
lib/cluster/infrastructures/amazon.rb

#connection_params(o = nil) ⇒ Object


445
446
447
448
449
450
451
452
453
# File 'lib/cluster/infrastructures/amazon.rb', line 445

def connection_params(o = nil)
  params = o ? o.clone : {}
  params = {:multi_thread => true} if params.empty?

  params[:logger] ||= logger
  params[:region] ||= @options.zones.first

  params
end