mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
e4a7e56c7f
commit
e36cb783c4
|
@ -58,14 +58,11 @@ migrate syn = flip runContT pure $ callCC \exit -> do
|
||||||
-- KISS. just import block/remove block.
|
-- KISS. just import block/remove block.
|
||||||
-- let the user backup it.
|
-- let the user backup it.
|
||||||
--
|
--
|
||||||
--
|
|
||||||
--
|
|
||||||
|
|
||||||
conf@(PeerConfig se) <- peerConfigRead (headMay [p | ListVal [StringLike "-c", StringLike p] <- opts] )
|
conf@(PeerConfig se) <- peerConfigRead (headMay [p | ListVal [StringLike "-c", StringLike p] <- opts] )
|
||||||
|
|
||||||
brains <- newBasicBrains conf
|
brains <- newBasicBrains conf
|
||||||
|
|
||||||
bProbe <- newSimpleProbe "Brains"
|
|
||||||
brainsThread <- ContT $ withAsync $ runBasicBrains conf brains
|
brainsThread <- ContT $ withAsync $ runBasicBrains conf brains
|
||||||
|
|
||||||
xdg <- liftIO $ getXdgDirectory XdgData defStorePath <&> fromString
|
xdg <- liftIO $ getXdgDirectory XdgData defStorePath <&> fromString
|
||||||
|
|
Loading…
Reference in New Issue