Files
bom-local-service/appsettings.json
T
alex 27dd44aaa1 Refactor cache validation and add startup cleanup
- Move cache folder completeness check to CacheHelper utility
- Replace Width with RightOffset in screenshot crop config
- Add startup cleanup to remove incomplete cache folders
- Validate cache folders before use in BomRadarService
2025-12-07 14:35:38 +10:00

37 lines
716 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"CacheDirectory": "./cache",
"CacheRetentionHours": 24,
"CacheExpirationMinutes": 12.5,
"CacheManagement": {
"CheckIntervalMinutes": 5,
"InitialDelaySeconds": 10,
"UpdateStaggerSeconds": 2,
"LocationStaggerSeconds": 1
},
"CacheCleanup": {
"IntervalHours": 1
},
"Screenshot": {
"DynamicContentWaitMs": 2000,
"TileRenderWaitMs": 5000,
"Crop": {
"X": 250,
"Y": 0,
"RightOffset": 250,
"Height": null
}
},
"Debug": {
"Enabled": false,
"WaitMs": 2000
},
"Timezone": "Australia/Brisbane"
}