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 bc4ce16 commit 16e99b6
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 @@ -41,23 +41,23 @@ case "${1}" in
;;
testnet)
NETWORK=testnet
THREADS=$((NPROC * 1))
THREADS=$((NPROC / 2))
;;
signet)
NETWORK=signet
THREADS=$((NPROC * 1))
THREADS=$((NPROC / 2))
;;
liquid)
DAEMON=elements
NETWORK=liquid
FEATURES=liquid
THREADS=$((NPROC * 1))
THREADS=$((NPROC / 2))
;;
liquidtestnet)
DAEMON=elements
NETWORK=liquidtestnet
FEATURES=liquid
THREADS=$((NPROC * 1))
THREADS=$((NPROC / 2))
;;
*)
echo "Usage: $0 (mainnet|testnet|signet|liquid|liquidtestnet)"
Expand Down Expand Up @@ -136,6 +136,6 @@ do
--address-search \
--utxos-limit "${UTXOS_LIMIT}" \
--electrum-txs-limit "${ELECTRUM_TXS_LIMIT}" \
-vvv
-vv
sleep 1
done

0 comments on commit 16e99b6

Please sign in to comment.