mirror of https://github.com/voidlizard/hbs2
maybe fixed TCP loop on error -- additional probe
This commit is contained in:
parent
8ab74bec71
commit
ee0025c6a3
|
@ -238,6 +238,7 @@ runMessagingTCP env@MessagingTCP{..} = liftIO do
|
|||
S.yield =<< ( readTVarIO _tcpClientThreads <&> ("tcpClientThreads",) . fromIntegral . HM.size )
|
||||
S.yield =<< ( readTVarIO _tcpServerThreadsCount <&> ("tcpServerThreadsCount",) . fromIntegral )
|
||||
S.yield =<< ( readTVarIO _tcpPeerConn <&> ("tcpPeerConn",) . fromIntegral . HM.size)
|
||||
S.yield =<< ( readTVarIO _tcpConnDemand <&> ("tcpPeerConnDemand",) . fromIntegral . HPSQ.size)
|
||||
|
||||
coo <- readTVarIO _tcpPeerCookie -- <&> ("tcpPeerCookie",)
|
||||
let cooNn = sum [ 1 | (_,v) <- HM.toList coo, v >= 1 ]
|
||||
|
|
Loading…
Reference in New Issue