mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 17:41:28 +01:00
introduced property for max thread size
Former-commit-id: 4b2175859ada2e8d375486627235ea8892f8d7ce
This commit is contained in:
@@ -141,6 +141,10 @@ public final class Settings {
|
|||||||
* The location of the temporary directory.
|
* The location of the temporary directory.
|
||||||
*/
|
*/
|
||||||
public static final String TEMP_DIRECTORY = "temp.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.
|
* The properties file location.
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
application.name=${pom.name}
|
application.name=${pom.name}
|
||||||
application.version=${pom.version}
|
application.version=${pom.version}
|
||||||
autoupdate=true
|
autoupdate=true
|
||||||
|
max.download.threads=3
|
||||||
|
|
||||||
#temp.directory defaults to System.getProperty("java.io.tmpdir")
|
#temp.directory defaults to System.getProperty("java.io.tmpdir")
|
||||||
#temp.directory=[path to temp directory]
|
#temp.directory=[path to temp directory]
|
||||||
|
|
||||||
# the path to the data directory; if tis
|
# the path to the data directory; if tis
|
||||||
data.directory=[JAR]/data
|
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
|
# the path to the h2 database to store the nvd cve data
|
||||||
data.cve=cve
|
data.cve=cve
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user