<property name="maxTotal" value="450" />
<property name="maxIdle" value="100" />
<property name="minIdle" value="50" />
<property name="maxWaitMillis" value="3000" />
<property name="testOnBorrow" value="false" />
<property name="testWhileIdle" value="true" />
<property name="timeBetweenEvictionRunsMillis" value="180000"/>
<property name="minEvictableIdleTimeMillis" value="600000"/>
timeBetweenEvictionRunsMillis:每隔多少时间进行检测空闲连接
minEvictableIdleTimeMillis:设置连接空闲多长时间后可以被驱逐,也就是回收
maxTotal:最大连接数
maxIdle:最大空闲连接数
minIdle:最小空闲连接数
maxWaitMillis:获取连接最大等待时间