Merged in fix/missing-batchsize-bicep-config (pull request #2385)

add missing bicep setup for deleteBatchSize

* add missing bicep setup for deleteBatchSize
This commit is contained in:
Joakim Jäderberg
2025-06-18 07:47:25 +00:00
parent b2475d22dc
commit bb98c2652e
2 changed files with 4 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ param sentryEnvironment string
param sentryDSN string param sentryDSN string
param sentryEnabled string param sentryEnabled string
param sentryTraceSampleRate string param sentryTraceSampleRate string
param deleteBatchSize string
param timestamp string = utcNow() param timestamp string = utcNow()
@@ -47,6 +48,7 @@ module containerApp 'containerApp.bicep' = {
{ name: 'SENTRY_ENABLED', value: sentryEnabled } { name: 'SENTRY_ENABLED', value: sentryEnabled }
{ name: 'SENTRY_TRACE_SAMPLE_RATE', value: sentryTraceSampleRate } { name: 'SENTRY_TRACE_SAMPLE_RATE', value: sentryTraceSampleRate }
{ name: 'VERSION', value: version } { name: 'VERSION', value: version }
{ name: 'DELETE_BATCH_SIZE', value: deleteBatchSize }
{ name: 'timestamp', value: timestamp } { name: 'timestamp', value: timestamp }
] ]

View File

@@ -12,6 +12,7 @@ param secondaryApiKey string
param sentryDSN string param sentryDSN string
param sentryEnabled string param sentryEnabled string
param sentryTraceSampleRate string param sentryTraceSampleRate string
param deleteBatchSize int = 2000
@description('The location for the resource group') @description('The location for the resource group')
param location string = 'westeurope' param location string = 'westeurope'
@@ -53,5 +54,6 @@ module containerApp 'app/main.bicep' = {
sentryEnabled: sentryEnabled sentryEnabled: sentryEnabled
sentryTraceSampleRate: sentryTraceSampleRate sentryTraceSampleRate: sentryTraceSampleRate
version: version version: version
deleteBatchSize: string(deleteBatchSize)
} }
} }