Browse Source

Increase background job manual test to 1000

Localhost async processing in approx 5 seconds
CLDC-122-experimental-background-job-lettings-log-import-with-report
Mo Seedat 2 years ago
parent
commit
bddcc50543
  1. 2
      app/controllers/lettings_test_controller.rb
  2. BIN
      dump.rdb

2
app/controllers/lettings_test_controller.rb

@ -6,7 +6,7 @@ class LettingsTestController < ApplicationController
def index def index
folder = '/Users/mohseeadmin/development-meta/CORE/CLDC-1222' folder = '/Users/mohseeadmin/development-meta/CORE/CLDC-1222'
stash_folder = Time.now.to_i.to_s stash_folder = Time.now.to_i.to_s
generate_fixtures(folder, stash_folder, 500) generate_fixtures(folder, stash_folder, 1000)
LettingsLog.connection.truncate(LettingsLog.table_name) LettingsLog.connection.truncate(LettingsLog.table_name)
Imports::LettingsLogsImportService.new(Storage::S3Service).local_load("#{folder}/#{stash_folder}") Imports::LettingsLogsImportService.new(Storage::S3Service).local_load("#{folder}/#{stash_folder}")

BIN
dump.rdb

Binary file not shown.
Loading…
Cancel
Save