launch stabilise thread

closes #44

although stabilise functionality is still untested
This commit is contained in:
Trolli Schmittlauch 2020-06-24 02:51:28 +02:00
parent 81e346db4e
commit c9783a10cf

View file

@ -307,9 +307,10 @@ fediMainThreads sock nsSTM = do
-- all get cancelled
concurrently_
(fediMessageHandler sendQ recvQ nsSTM) $
concurrently
(sendThread sock sendQ)
(recvThread sock recvQ)
concurrently_ (stabiliseThread nsSTM) $
concurrently_
(sendThread sock sendQ)
(recvThread sock recvQ)
-- defining this here as, for now, the RequestMap is only used by fediMessageHandler.