peer discovery fixes

This commit is contained in:
romanman 2014-10-25 00:07:54 -05:00
parent e9bbc95ee5
commit 779bebc2b3
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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>