agent: adds versionLatest to V0 resilient to reg failures

This commit is contained in:
Aaron Greenspan
2021-01-18 16:34:45 -07:00
committed by Aiden McClelland
parent 68a87c8c4f
commit 408cc45688
4 changed files with 44 additions and 2 deletions

View File

@@ -113,6 +113,7 @@ makeFoundation appSettings = do
appSelfUpdateSpecification <- newEmptyMVar
appIsUpdating <- newIORef Nothing
appIsUpdateFailed <- newIORef Nothing
appOSVersionLatest <- newIORef Nothing
appBackgroundJobs <- newTVarIO (JobCache HM.empty)
def <- getDefaultProcDevMetrics
appProcDevMomentCache <- newIORef (now, mempty, def)