mirror of
https://github.com/Unitech/pm2.git
synced 2026-02-01 16:57:09 +00:00
--gc-global: applied to Agent as well
This commit is contained in:
parent
138e78b595
commit
6cbbdbd633
@ -201,7 +201,7 @@ InteractorDaemonizer.daemonize = function(infos, cb) {
|
||||
err = fs.openSync(cst.INTERACTOR_LOG_FILE_PATH, 'a');
|
||||
}
|
||||
|
||||
var child = require('child_process').spawn('node', [InteractorJS], {
|
||||
var child = require('child_process').spawn('node', ['--gc-global', InteractorJS], {
|
||||
silent : false,
|
||||
detached : true,
|
||||
cwd : process.cwd(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user