mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 06:30:43 -05:00
Adjusted load time logging to show a max of 2DP
This commit is contained in:
parent
0dfbf61ddf
commit
c72834d778
@ -182,7 +182,7 @@ export class SaveServer
|
|||||||
// File found, store in profiles[]
|
// File found, store in profiles[]
|
||||||
const start = performance.now();
|
const start = performance.now();
|
||||||
this.profiles[sessionID] = this.jsonUtil.deserialize(this.vfs.readFile(filePath), filename);
|
this.profiles[sessionID] = this.jsonUtil.deserialize(this.vfs.readFile(filePath), filename);
|
||||||
this.logger.debug(`Profile: ${sessionID} took: ${performance.now() - start}ms to load.`, true);
|
this.logger.debug(`Profile: ${sessionID} took: ${(performance.now() - start).toFixed(2)}ms to load.`, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run callbacks
|
// Run callbacks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user