Closed wsky closed 11 years ago
code
public void setMaxBusinessThreadCount(String maxThreadCount) { this.maxThreadCount = Integer.parseInt(maxThreadCount); }
xml
<bean name="internalServer" class="com.taobao.top.link.remoting.SpringServerBean"> <property name="port" value="8890" /> <property name="path" value="internal" /> <property name="maxMessageSize" value="1024" /> <property name="maxBusinessThreadCount" value="20" /> </bean>
add minBusinessThreadCount
code
xml
add minBusinessThreadCount