mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +00:00 
			
		
		
		
	Make radar data fall back if it ends up being too old
This commit is contained in:
		
							parent
							
								
									2821eff71f
								
							
						
					
					
						commit
						781aa40e8c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1548,7 +1548,7 @@ RadarProductManager::GetLevel2Data(wsr88d::rda::DataBlockType dataBlockType, | ||||||
|    std::vector<float>                          elevationCuts {}; |    std::vector<float>                          elevationCuts {}; | ||||||
|    std::chrono::system_clock::time_point       foundTime {}; |    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; |    bool              needArchive   = true; | ||||||
|    static const auto maxChunkDelay = std::chrono::minutes(10); |    static const auto maxChunkDelay = std::chrono::minutes(10); | ||||||
|    const std::chrono::system_clock::time_point firstValidChunkTime = |    const std::chrono::system_clock::time_point firstValidChunkTime = | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak