Skip to content

Commit

Permalink
More timing logging
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed May 18, 2024
1 parent 1e6e7a4 commit 0059335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transform/ClientNot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ transformClientNot sendExtraNotification meth msg = do
p' <- transformClientNot' sendExtraNotification meth (msg ^. params)
stop <- liftIO getCurrentTime
let msg' = set params p' msg
when (msg' /= msg) $ logDebugN [i|Transforming client not #{meth} in #{diffUTCTime stop start}: (#{A.encode msg} --> #{A.encode msg'})|]
when (msg' /= msg) $ logDebugN [i|Transforming client not #{meth} in #{diffUTCTime stop start}, from #{start} -> #{stop}: (#{A.encode msg} --> #{A.encode msg'})|]
return msg'

transformClientNot' :: (
Expand Down

0 comments on commit 0059335

Please sign in to comment.