Files
bom-local-service/appsettings.json
T
alex 18e0a7a01f Add active cache folder tracking and cache state to responses
- Track active cache folders being written to prevent returning incomplete data
- Add cache state fields to RadarResponse (CacheIsValid, CacheExpiresAt, IsUpdating, NextUpdateTime)
- Detect active updates before acquiring semaphore for better performance
- Prevent duplicate cache updates when one is already in progress
- Clean up empty cache folders created but not used
2025-12-07 13:49:21 +10:00

37 lines
711 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,
"Width": null,
"Height": null
}
},
"Debug": {
"Enabled": false,
"WaitMs": 2000
},
"Timezone": "Australia/Brisbane"
}