Skip to content

Commit

Permalink
fixed typo in line comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mkwiatkowskisoldevelo committed Aug 2, 2022
1 parent b77cbfb commit efa60db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/ndt7-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ onmessage = function (ev) {
sock.close()
return
}
const maxMessageSize = 8388608 /* = (1<<2) = 8MB */
const maxMessageSize = 8388608 /* = (1<<23) = 8MB */
if (data.length < maxMessageSize && data.length < (total - sock.bufferedAmount)/16) {
data = new Uint8Array(data.length * 2) // TODO(bassosimone): fill this message
}
Expand Down

0 comments on commit efa60db

Please sign in to comment.