Method: PostgresqlWeb::Connection#initial_default_params

Defined in:
lib/postgresql_web/connection.rb

#initial_default_paramsObject



19
20
21
22
23
24
25
# File 'lib/postgresql_web/connection.rb', line 19

def initial_default_params
  self.pool_size = 5;
  self.timeout = 5
  if is_pg_activerecord?
    self.dbname = ActiveRecord::Base.connection.current_database
  end
end