Skip to main content

Configuration

The Metadata Cleanup service is configured via the MetadataCleanupOptions class, loaded from Azure App Configuration.

Options​

SettingDescriptionDefault
RetentionPeriodHow long metadata is kept before it becomes eligible for deletionConfigured per environment
BatchSizeNumber of records to delete in each batch operationConfigured per environment
ScheduleCRON expression controlling when the timer function runsConfigured per environment

Environment-Specific Settings​

Configuration values differ between development, staging, and production:

  • Development β€” Shorter retention periods for testing
  • Production β€” Longer retention to preserve historical data

All settings are managed through Azure App Configuration and can be changed without redeploying the function app.

Dependencies​

The Metadata Cleanup project has a minimal dependency footprint β€” only AlertCAInfrastructure for repository access. It does not depend on VAPIXService, UCSDService, or any camera-specific libraries.