Skip to content

Commit

Permalink
ops: Further reduce threads used for electrs pre-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz committed Nov 13, 2023
1 parent a80637c commit 7ca62e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ esac
# which network?
case "${1}" in
mainnet)
THREADS=$((NPROC * 1))
THREADS=$((NPROC / 2))
;;
testnet)
NETWORK=testnet
THREADS=$((NPROC / 2))
THREADS=$((NPROC / 4))
;;
signet)
NETWORK=signet
THREADS=$((NPROC / 2))
THREADS=$((NPROC / 4))
;;
liquid)
DAEMON=elements
NETWORK=liquid
FEATURES=liquid
THREADS=$((NPROC / 2))
THREADS=$((NPROC / 4))
;;
liquidtestnet)
DAEMON=elements
NETWORK=liquidtestnet
FEATURES=liquid
THREADS=$((NPROC / 2))
THREADS=$((NPROC / 4))
;;
*)
echo "Usage: $0 (mainnet|testnet|signet|liquid|liquidtestnet)"
Expand Down

0 comments on commit 7ca62e4

Please sign in to comment.