parent
bdb92411c6
commit
7c17e3a44d
2 changed files with 34 additions and 1 deletions
|
@ -36,8 +36,9 @@ main = do
|
|||
|
||||
putStrLn $ err <> " Error joining, start listening for incoming requests anyways"
|
||||
print =<< readTVarIO thisNode
|
||||
-- launch thread attempting to join on new cache entries
|
||||
_ <- forkIO $ joinOnNewEntriesThread thisNode
|
||||
wait =<< async (fediMainThreads serverSock thisNode)
|
||||
-- TODO: periodic retry
|
||||
)
|
||||
(\joinedNS -> do
|
||||
-- launch main eventloop with successfully joined state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue