Default concurrent download count to #CPUS-1.

This commit is contained in:
Michael Bayne
2018-11-30 11:41:59 -08:00
parent cb5ee3efe6
commit c8226b83ee
2 changed files with 5 additions and 1 deletions
@@ -717,7 +717,8 @@ public class Application
_codeCacheRetentionDays = config.getInt("code_cache_retention_days", 7);
// maximum simultaneous downloads
_maxConcDownloads = Math.max(1, config.getInt("max_concurrent_downloads", 2));
_maxConcDownloads = Math.max(1, config.getInt("max_concurrent_downloads",
SysProps.threadPoolSize()));
// parse and return our application config
UpdateInterface ui = new UpdateInterface(config);