From bb98c2652ebb4f8f6c370e4e1121470aaf8a2e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20J=C3=A4derberg?= Date: Wed, 18 Jun 2025 07:47:25 +0000 Subject: [PATCH] Merged in fix/missing-batchsize-bicep-config (pull request #2385) add missing bicep setup for deleteBatchSize * add missing bicep setup for deleteBatchSize --- apps/redis-api/ci/bicep/app/main.bicep | 2 ++ apps/redis-api/ci/bicep/main.bicep | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apps/redis-api/ci/bicep/app/main.bicep b/apps/redis-api/ci/bicep/app/main.bicep index 19ad3107d..2c74f5856 100644 --- a/apps/redis-api/ci/bicep/app/main.bicep +++ b/apps/redis-api/ci/bicep/app/main.bicep @@ -13,6 +13,7 @@ param sentryEnvironment string param sentryDSN string param sentryEnabled string param sentryTraceSampleRate string +param deleteBatchSize string param timestamp string = utcNow() @@ -47,6 +48,7 @@ module containerApp 'containerApp.bicep' = { { name: 'SENTRY_ENABLED', value: sentryEnabled } { name: 'SENTRY_TRACE_SAMPLE_RATE', value: sentryTraceSampleRate } { name: 'VERSION', value: version } + { name: 'DELETE_BATCH_SIZE', value: deleteBatchSize } { name: 'timestamp', value: timestamp } ] diff --git a/apps/redis-api/ci/bicep/main.bicep b/apps/redis-api/ci/bicep/main.bicep index 0afbd1bfb..8fc4ed4f9 100644 --- a/apps/redis-api/ci/bicep/main.bicep +++ b/apps/redis-api/ci/bicep/main.bicep @@ -12,6 +12,7 @@ param secondaryApiKey string param sentryDSN string param sentryEnabled string param sentryTraceSampleRate string +param deleteBatchSize int = 2000 @description('The location for the resource group') param location string = 'westeurope' @@ -53,5 +54,6 @@ module containerApp 'app/main.bicep' = { sentryEnabled: sentryEnabled sentryTraceSampleRate: sentryTraceSampleRate version: version + deleteBatchSize: string(deleteBatchSize) } }