Skip to content

Commit

Permalink
Revert "fjerner cache fra dokumentvisning, reduserer minimum cpu og f…
Browse files Browse the repository at this point in the history
…jerner limits etter anbefalinger, øker maks minne"

This reverts commit 6574eb9.
  • Loading branch information
kmriise committed Oct 12, 2023
1 parent 6574eb9 commit b16b0d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .nais/nais.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ spec:
path: "{{basePath}}/api/internal/metrics"
resources:
limits:
memory: 2048Mi
cpu: 1200m
memory: 1280Mi
requests:
cpu: 50m
cpu: 600m
memory: 1024Mi
env:
- name: SELF_URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function hentDokument(
"Nav-Consumer-Id": "dp-dagpenger",
};

return fetch(endpoint, { headers, cache: "no-store" });
return fetch(endpoint, { headers });
}

export const handleHentDokument: NextApiHandler<Buffer> = async (req, res) => {
Expand Down

0 comments on commit b16b0d6

Please sign in to comment.