mirror of
https://github.com/alexhopeoconnor/bom-local-service.git
synced 2026-10-04 03:28:11 +10:00
- Add active cache folder exclusion to GetCachedFrameAsync - Prevents TaskCanceledException when reading metadata from folders being written to - Matches pattern used in GetCachedRadarAsync for consistency
48 lines
930 B
JSON
48 lines
930 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Cors": {
|
|
"AllowedOrigins": "*",
|
|
"AllowedMethods": "GET,POST,OPTIONS",
|
|
"AllowedHeaders": "*",
|
|
"AllowCredentials": false
|
|
},
|
|
"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",
|
|
"CachedDataTypes": {
|
|
"Radar": {
|
|
"FrameCount": 7
|
|
}
|
|
}
|
|
}
|