Skip to content

Commit

Permalink
Change default number of workers.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Feb 17, 2020
1 parent 864e18e commit e22da8a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/bin/mongaku.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if (args.v || args.version) {
} else if (cmd === "start") {
process.env.NODE_ENV = "production";

const workers = args.workers || 2;
const workers = args.workers || 1;
const basePath = args.logs || "";
const stdoutLog = path.resolve(basePath, "mongaku-stdout.log");
const stderrLog = path.resolve(basePath, "mongaku-stderr.log");
Expand Down Expand Up @@ -150,9 +150,6 @@ usage: mongaku <command>
Commands:
install
create admin
create user
create source
create index
convert data
export images
Expand Down

0 comments on commit e22da8a

Please sign in to comment.