Merged in feature/redis-api-get-all-keys-endopoint (pull request #3306)

feature: Add getAllKeys endpoint

* feature: Add getAllKeys endpoint

* rename DELETE_BATCH_SIZE to SCAN_BATCH_SIZE


Approved-by: Anton Gunnarsson
This commit is contained in:
Joakim Jäderberg
2025-12-10 09:36:53 +00:00
parent 7eb74ea239
commit fde77a06ce
6 changed files with 128 additions and 59 deletions

View File

@@ -13,7 +13,7 @@ param sentryEnvironment string
param sentryDSN string
param sentryEnabled string
param sentryTraceSampleRate string
param deleteBatchSize string
param scanBatchSize string
param timestamp string = utcNow()
@@ -48,7 +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: 'SCAN_BATCH_SIZE', value: scanBatchSize }
{ name: 'timestamp', value: timestamp }
]

View File

@@ -1,4 +1,4 @@
import { Environment, EnvironmentVar } from 'types.bicep'
import { Environment } from 'types.bicep'
targetScope = 'subscription'
@@ -12,7 +12,7 @@ param secondaryApiKey string
param sentryDSN string
param sentryEnabled string
param sentryTraceSampleRate string
param deleteBatchSize int = 2000
param scanBatchSize int = 2000
@description('The location for the resource group')
param location string = 'westeurope'
@@ -54,6 +54,6 @@ module containerApp 'app/main.bicep' = {
sentryEnabled: sentryEnabled
sentryTraceSampleRate: sentryTraceSampleRate
version: version
deleteBatchSize: string(deleteBatchSize)
scanBatchSize: string(scanBatchSize)
}
}