peer discovery fixes
This commit is contained in:
parent
779bebc2b3
commit
328a3cc0ad
|
@ -40,7 +40,7 @@ public class PeerDiscovery {
|
|||
// creating the ThreadPoolExecutor
|
||||
executorPool = new ThreadPoolExecutor(CONFIG.peerDiscoveryWorkers(),
|
||||
CONFIG.peerDiscoveryWorkers(), 10, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(
|
||||
CONFIG.peerDiscoveryWorkers()), threadFactory, rejectionHandler);
|
||||
1000), threadFactory, rejectionHandler);
|
||||
|
||||
// start the monitoring thread
|
||||
monitor = new PeerMonitorThread(executorPool, 1);
|
||||
|
|
|
@ -72,7 +72,7 @@ samples.dir = samples
|
|||
# the existing database will be
|
||||
# destroyed and all the data will be
|
||||
# downloaded from peers again
|
||||
database.reset = true
|
||||
database.reset = false
|
||||
|
||||
# place to save physical storage files
|
||||
database.dir = database
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<dependency>
|
||||
<groupId>org.ethereum</groupId>
|
||||
<artifactId>ethereumj</artifactId>
|
||||
<version>0.7.2.20141024.2336</version>
|
||||
<version>0.7.2.20141025.0030</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -49,7 +49,7 @@ peer.discovery = true
|
|||
# number of workers that
|
||||
# tastes the peers for being
|
||||
# online [1..10]
|
||||
peer.discovery.workers = 1
|
||||
peer.discovery.workers = 4
|
||||
|
||||
# connection timeout for trying to
|
||||
# connect to a peer [seconds]
|
||||
|
|
Loading…
Reference in New Issue