mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
progress of tar import through WS
This commit is contained in:
@@ -58,7 +58,7 @@ async function stopWatch(what, func) {
|
||||
|
||||
const ret = await func();
|
||||
|
||||
const tookMs = new Date().getTime() - start.getTime();
|
||||
const tookMs = Date.now() - start.getTime();
|
||||
|
||||
console.log(`${what} took ${tookMs}ms`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user