introduced property for max thread size

Former-commit-id: 4b2175859ada2e8d375486627235ea8892f8d7ce
This commit is contained in:
Jeremy Long
2013-11-17 22:37:30 -05:00
parent e34f51a1b0
commit dff0b497b0
2 changed files with 5 additions and 2 deletions

View File

@@ -141,6 +141,10 @@ public final class Settings {
* The location of the temporary directory.
*/
public static final String TEMP_DIRECTORY = "temp.directory";
/**
* The maximum number of threads to allocate when downloading files.
*/
public static String MAX_DOWNLOAD_THREAD_POOL_SIZE = "max.download.threads";
}
/**
* The properties file location.

View File

@@ -1,14 +1,13 @@
application.name=${pom.name}
application.version=${pom.version}
autoupdate=true
max.download.threads=3
#temp.directory defaults to System.getProperty("java.io.tmpdir")
#temp.directory=[path to temp directory]
# the path to the data directory; if tis
data.directory=[JAR]/data
# the path to the lucene index to store the cpe data
data.cpe=cpe
# the path to the h2 database to store the nvd cve data
data.cve=cve