From 25d172c54c05f2b7e1c0bb7069d36827a3b7f4ca Mon Sep 17 00:00:00 2001 From: s148719 Date: Tue, 24 Oct 2023 11:33:33 +0200 Subject: [PATCH] =?UTF-8?q?Endre=20maks=20antall=20dokumenter=20som=20slet?= =?UTF-8?q?tes=20om=20gangen=20fra=2010k=20=20tilbake=20til=201k.=20=C3=98?= =?UTF-8?q?ke=20maks=20fra=201k=20til=2010k=20for=20bucket-migrering=20av?= =?UTF-8?q?=20deaktiverte=20erkl=C3=A6ringer.=20Endre=20tidspunkt=20for=20?= =?UTF-8?q?bucket-migrering?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nais/app/prod.yml | 2 +- .../backend/apps/api/config/egenskaper/Arkiv.java | 2 +- .../apps/api/scheduled/arkiv/ArkivereFarskapserklaeringer.java | 2 +- .../backend/apps/api/scheduled/arkiv/RyddejobbTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.nais/app/prod.yml b/.nais/app/prod.yml index 28ec8f82f..b71f1e800 100644 --- a/.nais/app/prod.yml +++ b/.nais/app/prod.yml @@ -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 diff --git a/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/config/egenskaper/Arkiv.java b/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/config/egenskaper/Arkiv.java index f113138f5..75943a239 100644 --- a/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/config/egenskaper/Arkiv.java +++ b/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/config/egenskaper/Arkiv.java @@ -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; } diff --git a/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/ArkivereFarskapserklaeringer.java b/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/ArkivereFarskapserklaeringer.java index 0e6ac8ca7..68e69fc8e 100644 --- a/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/ArkivereFarskapserklaeringer.java +++ b/apps/api/src/main/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/ArkivereFarskapserklaeringer.java @@ -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; diff --git a/apps/api/src/test/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/RyddejobbTest.java b/apps/api/src/test/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/RyddejobbTest.java index 72d896aa1..23fd4a72a 100644 --- a/apps/api/src/test/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/RyddejobbTest.java +++ b/apps/api/src/test/java/no/nav/farskapsportal/backend/apps/api/scheduled/arkiv/RyddejobbTest.java @@ -66,6 +66,6 @@ public void skalVerifisereAtGrenserErSattSomForventet() { // then assertThat(levetidDokumenter).isEqualTo(12); - assertThat(maksAntallDokumenterPerKjoering).isEqualTo(10000); + assertThat(maksAntallDokumenterPerKjoering).isEqualTo(1000); } }