Skip to content

Commit

Permalink
Øke batch size fra 500 til 2000
Browse files Browse the repository at this point in the history
  • Loading branch information
holymaloney committed Mar 6, 2024
1 parent 347345d commit 63f811d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class HistoriskDeltakelseRepo(
SELECT * FROM hist_tiltakdeltaker
WHERE hist_tiltakdeltaker.fix_metode is null
ORDER BY person_id, tiltakgjennomforing_id, rekkefolge
LIMIT 500
LIMIT 2000
""".trimIndent()
val result = template.query(query) { resultSet, _ -> resultSet.toHistoriskDeltakelse() }
log.info("Hentet ${result.size} historiske deltakelser")
Expand Down

0 comments on commit 63f811d

Please sign in to comment.