-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Trivial
-
Resolution: Done
-
Affects Version/s: 1.7.0
-
Fix Version/s: 1.9.0
-
Component/s: None
-
Labels:
-
Story Points:1
In method named createPeerBootstrap() at ${ONOS_ROOT}/protocols/ospf/ctl/src/main/java/org/onosprojcet/ospf/controller/Controller.java, the threads' name should not be "onos/isis", but "onos/ospf"
Source code is shown below:
private ClientBootstrap createPeerBootStrap() {
if (peerWorkerThreads == 0)
{ peerExecFactory = new NioClientSocketChannelFactory( Executors.newCachedThreadPool(groupedThreads("onos/isis", "boss-%d")), Executors.newCachedThreadPool(groupedThreads("onos/isis", "worker-%d"))); return new ClientBootstrap(peerExecFactory); }else
{ peerExecFactory = new NioClientSocketChannelFactory( Executors.newCachedThreadPool(groupedThreads("onos/isis", "boss-%d")), Executors.newCachedThreadPool(groupedThreads("onos/isis", "worker-%d")), peerWorkerThreads); return new ClientBootstrap(peerExecFactory); }}
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
12305,2 | [ONOS-5226] Threadpool's name is not appropriate in OSPF-SBI | master | onos | Status: MERGED | +2 | +1 |