mtu logging

This commit is contained in:
2025-12-01 18:24:40 +00:00
parent d1927bc24e
commit 0f61fd26c5

View File

@@ -250,7 +250,7 @@ export default class Updater {
if (dataView[0] == 1) {
// send file
this.sendNextPacket();
progressCallback(`Sending (${Math.floor((this._fileProgress *100)/this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`);
progressCallback(`MTU: ${this._packetSize}; Sending (${Math.floor((this._fileProgress *100)/this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`);
} else if (dataView[0] == 2) {
// done logic
console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`);