remoçao do gc

pull/21/head
adriano 2023-02-09 18:14:39 -03:00
parent cf5b29a43e
commit eb5e6e7a8a
1 changed files with 6 additions and 6 deletions

View File

@ -12,12 +12,12 @@ const server = app.listen(process.env.PORT, () => {
});
if (global.gc) {
console.log(">> Starting Garbage Collector...");
global.gc();
} else {
console.warn('No GC hook! Start your program as `node --expose-gc file.js`.');
}
// if (global.gc) {
// console.log(">> Starting Garbage Collector...");
// global.gc();
// } else {
// console.warn('No GC hook! Start your program as `node --expose-gc file.js`.');
// }
initIO(server);