From 3275d0de978a44814dc88de3f49e1154d4448c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Skogstad?= Date: Tue, 26 Nov 2024 14:10:04 +0100 Subject: [PATCH] chore(infra): Re-enable MemoryCache for authorized parties (#1532) ## Description ## Related Issue(s) - #1226 ## Verification - [ ] **Your** code builds clean without any errors or warnings - [ ] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable) --- .../InfrastructureExtensions.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Digdir.Domain.Dialogporten.Infrastructure/InfrastructureExtensions.cs b/src/Digdir.Domain.Dialogporten.Infrastructure/InfrastructureExtensions.cs index 345868920..bc18a7e63 100644 --- a/src/Digdir.Domain.Dialogporten.Infrastructure/InfrastructureExtensions.cs +++ b/src/Digdir.Domain.Dialogporten.Infrastructure/InfrastructureExtensions.cs @@ -146,8 +146,6 @@ internal static void AddInfrastructure_Internal(InfrastructureBuilderContext bui }) .ConfigureFusionCache(nameof(AuthorizedPartiesResult), new() { - // Testing https://github.com/digdir/dialogporten/issues/1226 - SkipMemoryCache = true, // We keep authorized parties in a separate cache key, as this originates from a different API // and has lees cardinality than the dialog authorization cache (only one per user). We therefore // allow a memory cache for this.