标签:
异常:
Caused by: java.sql.SQLException: We are already in the process of making 11 connections and the number of simultaneous builds has been throttled to 10
在proxool.xml中增加:
<simultaneous-build-throttle>20</simultaneous-build-throttle>
默认
<simultaneous-build-throttle>10</simultaneous-build-throttle>
simultaneous-build-throttle: 这是我们可一次建立的最大连接数。那就是新增的连接请求,但还没有可供使用的连接。由于 连接可以使用多线程,在有限的时间之间建立联系从而带来可用连接,但是我们需要通过一些方式确认一些线程并不是立即响应 连接请求的,默认是10。
参考:http://blog.csdn.net/swandragon/article/details/4738626
proxool--高并发异常:We are already in the process of making 11 connections and the number of simultaneous
标签:
原文地址:http://blog.csdn.net/gaopeng0071/article/details/42640731