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) } }