recommends

This commit is contained in:
Tjatse 2014-11-24 15:14:38 +08:00
parent 744fa4dae2
commit 1e017a546e

View File

@ -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';
}