You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2019/04/01 01:36:31 UTC

[GitHub] [brooklyn-server] bd2019us opened a new pull request #1062: [SECURITY] change Executors.newCachedThreadPool() to newFixedThreadPool(int)

bd2019us opened a new pull request #1062: [SECURITY] change Executors.newCachedThreadPool() to newFixedThreadPool(int)
URL: https://github.com/apache/brooklyn-server/pull/1062
 
 
   Since the size of 'sockets' can be large, cached thread pool has a high risk in running out of memory and causes the program crashing. Using newFixedThreadPool() is more secure and should be preferred.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services