remoçao do gc
parent
cf5b29a43e
commit
eb5e6e7a8a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue