Commit 77405815 authored by martin hou's avatar martin hou

feat: 更新日志内容,去掉文件传输耗时的记录

parent 3e69499f
...@@ -894,7 +894,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress) ...@@ -894,7 +894,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
if (flen >= length) { if (flen >= length) {
// document.removeEventListener('visibilitychange', visibilitychange); // document.removeEventListener('visibilitychange', visibilitychange);
let cost = new Date().getTime() - stime.getTime(); let cost = new Date().getTime() - stime.getTime();
Logger.info('jensen', 'getFile', 'file transfer finish, cost: ' + cost + ' ms'); Logger.info('jensen', 'getFile', 'file transfer finish');
// clearEventAndTask(); // clearEventAndTask();
// return OK indicates all file blocks received // return OK indicates all file blocks received
return 'OK'; return 'OK';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment