mirror of https://github.com/apache/cloudstack.git
make agent load size configurable
This commit is contained in:
parent
da0fdfcfed
commit
80b6df17b9
|
|
@ -333,7 +333,7 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, ResourceS
|
|||
_monitor = new AgentMonitor(_nodeId, _hostDao, _vmDao, _dcDao, _podDao, this, _alertMgr, _pingTimeout);
|
||||
registerForHostEvents(_monitor, true, true, false);
|
||||
|
||||
_executor = new ThreadPoolExecutor(10, 100, 60l, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamedThreadFactory("AgentTaskPool"));
|
||||
_executor = new ThreadPoolExecutor(16, 100, 60l, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamedThreadFactory("AgentTaskPool"));
|
||||
|
||||
_connection = new NioServer("AgentManager", _port, workers + 10, this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue