From 310371658bef90e8c982eaf94eea99c63617d7ab Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 10 Feb 2019 11:44:08 +0900 Subject: 重いのでジョブキュー無効化 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/argv.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/argv.ts') diff --git a/src/argv.ts b/src/argv.ts index 4914b89e2f..d9cd12dfcc 100644 --- a/src/argv.ts +++ b/src/argv.ts @@ -5,9 +5,9 @@ program .version(pkg.version) .option('--no-daemons', 'Disable daemon processes (for debbuging)') .option('--disable-clustering', 'Disable clustering') - .option('--disable-ap-queue', 'Disable creating job queue related to ap') .option('--disable-queue', 'Disable job queue processing') - .option('--only-queue', 'Pocessing job queue only') + .option('--only-server', 'Run server only (without job queue)') + .option('--only-queue', 'Pocessing job queue only (without server)') .option('--quiet', 'Suppress all logs') .option('--verbose', 'Enable all logs') .option('--with-log-time', 'Include timestamp for each logs') @@ -15,8 +15,7 @@ program .option('--color', 'This option is a dummy for some external program\'s (e.g. forever) issue.') .parse(process.argv); -/*if (process.env.MK_DISABLE_AP_QUEUE)*/ program.disableApQueue = true; -if (process.env.MK_DISABLE_QUEUE) program.disableQueue = true; +/*if (process.env.MK_DISABLE_QUEUE)*/ program.disableQueue = true; if (process.env.MK_ONLY_QUEUE) program.onlyQueue = true; export { program }; -- cgit v1.2.3-freya