mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
lock CPU info for perf context
This commit is contained in:
parent
401a3f0ecb
commit
28dc6b93ca
3
src/www
3
src/www
@ -68,6 +68,9 @@ async function startTrilium() {
|
||||
|
||||
log.info(JSON.stringify(appInfo, null, 2));
|
||||
|
||||
const cpuInfos = require('os').cpus();
|
||||
log.info(`CPU model: ${cpuInfos[0].model}, logical cores: ${cpuInfos.length} freq: ${cpuInfos[0].speed} Mhz`); // for perf. issues it's good to know the rough configuration
|
||||
|
||||
/**
|
||||
* Listen on provided port, on all network interfaces.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user