Merge pull request #6895 from filecoin-project/fix/data-transfer-logging-received-cids

Eliminate inefficiency in markets logging
This commit is contained in:
Jiaying Wang 2021-07-29 01:09:25 -04:00 committed by GitHub
commit c8b0f11841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ func DataTransferLogger(event datatransfer.Event, state datatransfer.ChannelStat
"sent", state.Sent(), "sent", state.Sent(),
"received", state.Received(), "received", state.Received(),
"queued", state.Queued(), "queued", state.Queued(),
"received count", len(state.ReceivedCids()), "received count", state.ReceivedCidsLen(),
"total size", state.TotalSize(), "total size", state.TotalSize(),
"remote peer", state.OtherPeer(), "remote peer", state.OtherPeer(),
"event message", event.Message, "event message", event.Message,