mirror of
https://github.com/alexhopeoconnor/bom-local-service.git
synced 2026-10-04 03:28:11 +10:00
- 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
37 lines
711 B
JSON
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"
|
|
}
|