Make radar data fall back if it ends up being too old

This commit is contained in:
AdenKoperczak 2025-04-25 13:31:19 -04:00
parent 2821eff71f
commit 781aa40e8c
No known key found for this signature in database
GPG key ID: 9843017036F62EE7

View file

@ -1548,7 +1548,7 @@ RadarProductManager::GetLevel2Data(wsr88d::rda::DataBlockType dataBlockType,
std::vector<float> elevationCuts {};
std::chrono::system_clock::time_point foundTime {};
const bool isEpox = time == std::chrono::system_clock::time_point{};
const bool isEpox = time == std::chrono::system_clock::time_point {};
bool needArchive = true;
static const auto maxChunkDelay = std::chrono::minutes(10);
const std::chrono::system_clock::time_point firstValidChunkTime =