Module: Pspec::ParallelDb

Defined in:
lib/pspec/parallel_db.rb

Class Method Summary collapse

Class Method Details

.prepareObject



4
5
6
7
8
9
10
# File 'lib/pspec/parallel_db.rb', line 4

def prepare
  Rails.logger.info "Optimal processors count was determined as #{Replicator.optimal_processors_count}"

  prepare_database

  Replicator.replicate
end