Skip to content

Commit

Permalink
ops: Set UTXO limts for some servers in start script
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz committed Jan 19, 2025
1 parent ad34572 commit 96d27c8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ generate_popular_scripts() {
## Only overwrite the existing file if the popular-scripts cargo run succeeded
if [ "$?" = "0" ];then
## Sorted and deduplicated just in case
echo "Sorting popular scripts for final results..."
sort "${POPULAR_SCRIPTS_FILE_RAW}" | uniq > "${POPULAR_SCRIPTS_FILE}"
fi

Expand Down Expand Up @@ -168,6 +169,26 @@ do
ELECTRUM_TXS_LIMIT=9000
MAIN_LOOP_DELAY=14000
fi
if [ "${NODENAME}" = "node202" && "${LOCATION}" = "va1" ];then
UTXOS_LIMIT=9000
ELECTRUM_TXS_LIMIT=9000
fi
if [ "${NODENAME}" = "node203" && "${LOCATION}" = "va1" ];then
UTXOS_LIMIT=9000
ELECTRUM_TXS_LIMIT=9000
fi
if [ "${NODENAME}" = "node204" && "${LOCATION}" = "va1" ];then
UTXOS_LIMIT=9000
ELECTRUM_TXS_LIMIT=9000
fi
if [ "${NODENAME}" = "node205" && "${LOCATION}" = "va1" ];then
UTXOS_LIMIT=9000
ELECTRUM_TXS_LIMIT=9000
fi
if [ "${NODENAME}" = "node206" && "${LOCATION}" = "va1" ];then
UTXOS_LIMIT=9000
ELECTRUM_TXS_LIMIT=9000
fi
if [ "${NODENAME}" = "node213" ];then
UTXOS_LIMIT=9000
ELECTRUM_TXS_LIMIT=9000
Expand Down

0 comments on commit 96d27c8

Please sign in to comment.