mirror of
https://github.com/apache/maven.git
synced 2025-03-05 16:19:24 +00:00
o Made lower bound of executor threads 0 for artifact resolver
Ideally I think we should just get rid of the whole executor and use new Thread() instead, which would mean we'd need some way of constraining thread counts. Freeing the threads mean they also release the classloader
This commit is contained in:
parent
1062524b39
commit
1a1fe6d508
@ -111,7 +111,7 @@ public void execute( Runnable command )
|
||||
else
|
||||
{
|
||||
executor =
|
||||
new ThreadPoolExecutor( threads, threads, 3, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new DaemonThreadCreator());
|
||||
new ThreadPoolExecutor( 0, threads, 3, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new DaemonThreadCreator());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user