mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Remove unnecessary console.log in nodes (no-changelog) (#11915)
This commit is contained in:
committed by
GitHub
parent
683ee42d3b
commit
ddda0bde0b
@@ -7,7 +7,7 @@ export const runGarbageCollector = () => {
|
||||
const gc = runInNewContext('gc'); // nocommit
|
||||
gc();
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
console.error(error);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -23,8 +23,5 @@ export const generateGarbageMemory = (sizeInMB: number, onHeap = true) => {
|
||||
const array = new Uint8Array(size);
|
||||
array.fill(0);
|
||||
}
|
||||
// const used = process.memoryUsage().heapUsed / 1024 / 1024;
|
||||
// const external = process.memoryUsage().external / 1024 / 1024;
|
||||
// console.log(`heap: ${used} MB / external: ${external} MB`);
|
||||
return { ...process.memoryUsage() };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user