From c42ff81a38dfb197109d82dec9fa717ecc773f7f Mon Sep 17 00:00:00 2001 From: Keagan McClelland Date: Fri, 26 Feb 2021 19:09:50 -0700 Subject: [PATCH] avoid unnecessary appmgr startup invocation --- agent/src/Application.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/src/Application.hs b/agent/src/Application.hs index 2e380a547..94daf694f 100644 --- a/agent/src/Application.hs +++ b/agent/src/Application.hs @@ -121,7 +121,7 @@ makeFoundation appSettings = do def <- getDefaultProcDevMetrics appProcDevMomentCache <- newIORef (now, mempty, def) appLastTorRestart <- newIORef now - appLanThread <- forkIO (void . runM . runExceptT @S9Error . AppMgr2.runAppMgrCliC $ AppMgr2.lanEnable) >>= newMVar + appLanThread <- forkIO (sleep 10) >>= newMVar -- We need a log function to create a connection pool. We need a connection -- pool to create our foundation. And we need our foundation to get a