Skip to content

Commit

Permalink
devop: use -1 cpus to stop freezing
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Oct 26, 2021
1 parent 9fff5cd commit 8f4a2cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Yargs from "yargs";
import process from "process";
import fs from "fs";

const numCPUs = cpus().length;
const numCPUs = cpus().length > 1 ? cpus().length - 1 : 1;
const argv = Yargs(process.argv.slice(2))
.usage("Usage: $0 <command> [options]")
.example(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanity-eth",
"version": "2.0.0",
"version": "2.0.1",
"description": "ethereum vanity address generator",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 8f4a2cc

Please sign in to comment.