From 1e017a546e91b95b8da2010fc83ce88055e761ee Mon Sep 17 00:00:00 2001 From: Tjatse Date: Mon, 24 Nov 2014 15:14:38 +0800 Subject: [PATCH] recommends --- lib/CLI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CLI.js b/lib/CLI.js index 3a0208e5..e44dd5cc 100644 --- a/lib/CLI.js +++ b/lib/CLI.js @@ -82,7 +82,7 @@ CLI.start = function(script, opts, cb) { var forceForkMode = !!opts.executeCommand; if(!forceForkMode && !isNaN(conf.instances) && conf.instances > 1 && /^fork(_mode)?$/i.test(conf.exec_mode)){ - warn(recommend + 'You chouldn\'t run the process in a \'' + chalk.blue(conf.exec_mode) + '\' mode with ' + chalk.blue(conf.instances) +' instance(s), ' + + warn('You chouldn\'t run the process in a \'' + chalk.blue(conf.exec_mode) + '\' mode with ' + chalk.blue(conf.instances) +' instance(s), ' + 'web recommend using ' + chalk.blue('cluster | cluster_mode') + ' instead to take advantage of multi-core systems, and we\'ve amended it yet.'); conf.exec_mode = 'cluster_mode'; }