mirror of https://github.com/voidlizard/hbs2
removed-extra-spaces
This commit is contained in:
parent
012eb5bc9f
commit
69abfcf7e5
|
@ -729,19 +729,19 @@ runPeer opts = Exception.handle myException $ do
|
||||||
|
|
||||||
-- peerThread "tcpWorker" (tcpWorker conf)
|
-- peerThread "tcpWorker" (tcpWorker conf)
|
||||||
|
|
||||||
peerThread "httpWorker " (httpWorker conf denv)
|
peerThread "httpWorker" (httpWorker conf denv)
|
||||||
|
|
||||||
peerThread "checkMetrics " (checkMetrics metrics)
|
peerThread "checkMetrics" (checkMetrics metrics)
|
||||||
|
|
||||||
peerThread "peerPingLoop " (peerPingLoop @e conf)
|
peerThread "peerPingLoop" (peerPingLoop @e conf)
|
||||||
|
|
||||||
peerThread "knownPeersPingLoop " (knownPeersPingLoop @e conf)
|
peerThread "knownPeersPingLoop" (knownPeersPingLoop @e conf)
|
||||||
|
|
||||||
peerThread "bootstrapDnsLoop " (bootstrapDnsLoop @e conf)
|
peerThread "bootstrapDnsLoop" (bootstrapDnsLoop @e conf)
|
||||||
|
|
||||||
peerThread "pexLoop " (pexLoop @e)
|
peerThread "pexLoop" (pexLoop @e)
|
||||||
|
|
||||||
peerThread "blockDownloadLoop " (blockDownloadLoop denv)
|
peerThread "blockDownloadLoop" (blockDownloadLoop denv)
|
||||||
|
|
||||||
let tcpProbeWait :: Timeout 'Seconds
|
let tcpProbeWait :: Timeout 'Seconds
|
||||||
tcpProbeWait = (fromInteger . fromMaybe 300) (cfgValue @PeerTcpProbeWaitKey conf)
|
tcpProbeWait = (fromInteger . fromMaybe 300) (cfgValue @PeerTcpProbeWaitKey conf)
|
||||||
|
@ -751,13 +751,13 @@ runPeer opts = Exception.handle myException $ do
|
||||||
-- FIXME: clumsy-code
|
-- FIXME: clumsy-code
|
||||||
-- Is it better now ?
|
-- Is it better now ?
|
||||||
when useHttpDownload do
|
when useHttpDownload do
|
||||||
peerThread "blockHttpDownloadLoop " (blockHttpDownloadLoop denv)
|
peerThread "blockHttpDownloadLoop" (blockHttpDownloadLoop denv)
|
||||||
|
|
||||||
peerThread "postponedLoop" (postponedLoop denv)
|
peerThread "postponedLoop" (postponedLoop denv)
|
||||||
|
|
||||||
peerThread "downloadQueue" (downloadQueue conf denv)
|
peerThread "downloadQueue" (downloadQueue conf denv)
|
||||||
|
|
||||||
peerThread "reflogWorker " (reflogWorker @e conf rwa)
|
peerThread "reflogWorker" (reflogWorker @e conf rwa)
|
||||||
|
|
||||||
peerThread "ping pong" $ forever $ do
|
peerThread "ping pong" $ forever $ do
|
||||||
cmd <- liftIO $ atomically $ readTQueue rpcQ
|
cmd <- liftIO $ atomically $ readTQueue rpcQ
|
||||||
|
|
Loading…
Reference in New Issue