Skip to content

Commit

Permalink
chore: add file transfer log (#14466)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Oct 25, 2024
1 parent fac83ae commit 3cd0e17
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class StreamStatsTracker(
Jsons.getEstimatedByteSize(recordMessage.data).toLong()
} else {
recordMessage.additionalProperties["file"]?.let {
logger.info { "Received a file transfer record: $it" }
val fileTransferInformations = Jsons.deserialize(Jsons.serialize(it), FileTransferInformations::class.java)
fileTransferInformations.bytes
} ?: Jsons.getEstimatedByteSize(recordMessage.data).toLong()
Expand Down

0 comments on commit 3cd0e17

Please sign in to comment.