Skip to content

Commit

Permalink
Endre maks antall dokumenter som slettes om gangen fra 10k tilbake ti…
Browse files Browse the repository at this point in the history
…l 1k. Øke maks fra 1k til 10k for bucket-migrering av deaktiverte erklæringer. Endre tidspunkt for bucket-migrering
  • Loading branch information
s148719 committed Oct 24, 2023
1 parent 1fa982c commit 25d172c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nais/app/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ env:
- name: DEAKTIVERINGSRATE
value: "0 30 13 * * ?"
- name: DOKUMENTMIGRERINGSRATE
value: "0 15 9 * * ?"
value: "0 15 12 * * ?"
- name: DOKUMENTSLETTINGSRATE
value: "0 30 2 * * ?"
- name: OPPGAVEAPI_URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ public class Arkiv {
private int levetidOversendteFarskapserklaeringerIDager;
private int levetidErklaeringerIkkeSignertAvMorIDager;
private int levetidDokumenterIMaaneder = 12;
private int maksAntallDokumenterSomSlettesPerKjoering = 10000;
private int maksAntallDokumenterSomSlettesPerKjoering = 1000;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Builder
public class ArkivereFarskapserklaeringer {

public static int MAKS_ANTALL_ERKLAERINGER_PER_KJOERING = 1000;
public static int MAKS_ANTALL_ERKLAERINGER_PER_KJOERING = 10000;

private final BucketConsumer bucketConsumer;
private final FarskapserklaeringDao farskapserklaeringDao;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ public void skalVerifisereAtGrenserErSattSomForventet() {

// then
assertThat(levetidDokumenter).isEqualTo(12);
assertThat(maksAntallDokumenterPerKjoering).isEqualTo(10000);
assertThat(maksAntallDokumenterPerKjoering).isEqualTo(1000);
}
}

0 comments on commit 25d172c

Please sign in to comment.