summaryrefslogtreecommitdiff
path: root/src/argv.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-10 11:44:08 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-10 11:44:08 +0900
commit310371658bef90e8c982eaf94eea99c63617d7ab (patch)
treefd8ffbedc1d2424f128f08c0d85d61a4846bdac9 /src/argv.ts
parentHide unusable follow buttons (#4208) (diff)
downloadsharkey-310371658bef90e8c982eaf94eea99c63617d7ab.tar.gz
sharkey-310371658bef90e8c982eaf94eea99c63617d7ab.tar.bz2
sharkey-310371658bef90e8c982eaf94eea99c63617d7ab.zip
重いのでジョブキュー無効化
Diffstat (limited to 'src/argv.ts')
-rw-r--r--src/argv.ts7
1 files changed, 3 insertions, 4 deletions
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 };