mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
avoid unnecessary appmgr startup invocation
This commit is contained in:
committed by
Aiden McClelland
parent
cc49a73954
commit
c42ff81a38
@@ -121,7 +121,7 @@ makeFoundation appSettings = do
|
|||||||
def <- getDefaultProcDevMetrics
|
def <- getDefaultProcDevMetrics
|
||||||
appProcDevMomentCache <- newIORef (now, mempty, def)
|
appProcDevMomentCache <- newIORef (now, mempty, def)
|
||||||
appLastTorRestart <- newIORef now
|
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
|
-- 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
|
-- pool to create our foundation. And we need our foundation to get a
|
||||||
|
|||||||
Reference in New Issue
Block a user