peer discovery fixes
This commit is contained in:
parent
e9bbc95ee5
commit
779bebc2b3
|
@ -39,7 +39,7 @@ public class PeerDiscovery {
|
||||||
|
|
||||||
// creating the ThreadPoolExecutor
|
// creating the ThreadPoolExecutor
|
||||||
executorPool = new ThreadPoolExecutor(CONFIG.peerDiscoveryWorkers(),
|
executorPool = new ThreadPoolExecutor(CONFIG.peerDiscoveryWorkers(),
|
||||||
1000, 10, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(
|
CONFIG.peerDiscoveryWorkers(), 10, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(
|
||||||
CONFIG.peerDiscoveryWorkers()), threadFactory, rejectionHandler);
|
CONFIG.peerDiscoveryWorkers()), threadFactory, rejectionHandler);
|
||||||
|
|
||||||
// start the monitoring thread
|
// start the monitoring thread
|
||||||
|
|
|
@ -72,7 +72,7 @@ samples.dir = samples
|
||||||
# the existing database will be
|
# the existing database will be
|
||||||
# destroyed and all the data will be
|
# destroyed and all the data will be
|
||||||
# downloaded from peers again
|
# downloaded from peers again
|
||||||
database.reset = false
|
database.reset = true
|
||||||
|
|
||||||
# place to save physical storage files
|
# place to save physical storage files
|
||||||
database.dir = database
|
database.dir = database
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ethereum</groupId>
|
<groupId>org.ethereum</groupId>
|
||||||
<artifactId>ethereumj</artifactId>
|
<artifactId>ethereumj</artifactId>
|
||||||
<version>0.7.2.20141024.2310</version>
|
<version>0.7.2.20141024.2336</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Loading…
Reference in New Issue