mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-21 21:19:36 -04:00
update scripts, add log
This commit is contained in:
parent
72510417e5
commit
0a36d0b241
2 changed files with 12 additions and 1 deletions
|
@ -51,6 +51,11 @@ public class PeerManager implements ConnectionListener {
|
|||
maxConnectionsPeer = maxConnections + 4;
|
||||
maxConnectionsNonDirect = maxConnections + 8;
|
||||
maxConnectionsAbsolute = maxConnections + 18;
|
||||
|
||||
if (DevFlags.STRESS_TEST_MODE)
|
||||
System.err.println(new SimpleDateFormat("HH:mm:ss.SSS").format(new Date()) +
|
||||
" - maxConnections = " + maxConnections +
|
||||
" / maxConnectionsAbsolute = " + maxConnectionsAbsolute);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -6,6 +6,12 @@ logpath=/Users/mk/Documents/_intellij/bitsquare/logs
|
|||
datapath="/Users/mk/Library/Application Support"
|
||||
mkdir -p $logpath
|
||||
|
||||
rm "$datapath/Bitsquare_seed_node_hlitt7z4bec4kdh4.onion_8000/db/SequenceNumberMap"
|
||||
rm "$datapath/Bitsquare_seed_node_hlitt7z4bec4kdh4.onion_8000/db/PersistedPeers"
|
||||
|
||||
rm "$datapath/BS_arb/mainnet/db/SequenceNumberMap"
|
||||
rm "$datapath/BS_arb/mainnet/db/PersistedPeers"
|
||||
|
||||
nohup java -jar SeedNode.jar hlitt7z4bec4kdh4.onion:8000 0 500 >/dev/null 2>$logpath/ST_0_seednode.log &
|
||||
sleep 40
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue