Skip to content

Commit

Permalink
Update network-mux/demo/cardano-ping.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Szamotulski <profunctor@pm.me>
  • Loading branch information
karknu and coot committed Jun 2, 2021
1 parent 1249f6f commit f7d21bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network-mux/demo/cardano-ping.hs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ pingClient tracer Options{quiet, magic, json, maxCount} peer = bracket
-> Word32
-> IO ()
keepAlive _ _ _ _ _ cookie | cookie == maxCount = return ()
keepAlive bearer timeoutfn peerStr version td cookie = do
keepAlive bearer timeoutfn peerStr version td !cookie = do
let cookie16 = fromIntegral cookie
!t_s <- write bearer timeoutfn $ wrap keepaliveNum InitiatorDir (keepAliveReq version cookie16)
(!msg, !t_e) <- nextMsg bearer timeoutfn keepaliveNum
Expand Down

0 comments on commit f7d21bb

Please sign in to comment.