Skip to content

Commit 96d27c8

Browse files
committed
ops: Set UTXO limts for some servers in start script
1 parent ad34572 commit 96d27c8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

start

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ generate_popular_scripts() {
109109
## Only overwrite the existing file if the popular-scripts cargo run succeeded
110110
if [ "$?" = "0" ];then
111111
## Sorted and deduplicated just in case
112+
echo "Sorting popular scripts for final results..."
112113
sort "${POPULAR_SCRIPTS_FILE_RAW}" | uniq > "${POPULAR_SCRIPTS_FILE}"
113114
fi
114115

@@ -168,6 +169,26 @@ do
168169
ELECTRUM_TXS_LIMIT=9000
169170
MAIN_LOOP_DELAY=14000
170171
fi
172+
if [ "${NODENAME}" = "node202" && "${LOCATION}" = "va1" ];then
173+
UTXOS_LIMIT=9000
174+
ELECTRUM_TXS_LIMIT=9000
175+
fi
176+
if [ "${NODENAME}" = "node203" && "${LOCATION}" = "va1" ];then
177+
UTXOS_LIMIT=9000
178+
ELECTRUM_TXS_LIMIT=9000
179+
fi
180+
if [ "${NODENAME}" = "node204" && "${LOCATION}" = "va1" ];then
181+
UTXOS_LIMIT=9000
182+
ELECTRUM_TXS_LIMIT=9000
183+
fi
184+
if [ "${NODENAME}" = "node205" && "${LOCATION}" = "va1" ];then
185+
UTXOS_LIMIT=9000
186+
ELECTRUM_TXS_LIMIT=9000
187+
fi
188+
if [ "${NODENAME}" = "node206" && "${LOCATION}" = "va1" ];then
189+
UTXOS_LIMIT=9000
190+
ELECTRUM_TXS_LIMIT=9000
191+
fi
171192
if [ "${NODENAME}" = "node213" ];then
172193
UTXOS_LIMIT=9000
173194
ELECTRUM_TXS_LIMIT=9000

0 commit comments

Comments
 (0)