We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67e6b4e + 15fd7d3 commit 9800a70Copy full SHA for 9800a70
1 file changed
app/lib/patient_status_updater.rb
@@ -92,7 +92,7 @@ def update_registration_statuses!
92
.joins(session: :team_location)
93
.where(team_location: { academic_year: academic_years })
94
.includes(:attendance_records, :patient, :session, :vaccination_records)
95
- .find_in_batches(batch_size: 10_000) do |batch|
+ .find_in_batches do |batch|
96
batch.each(&:assign_status)
97
98
Patient::RegistrationStatus.import!(
0 commit comments