Skip to content

web3sdk V1.2.2

Compare
Choose a tag to compare
@mingzhenliu mingzhenliu released this 29 Aug 07:58
· 1279 commits to master since this release

V1.2.2 (2018-08-29)

  • 更新
  1. 增加错误提示。
  2. 默认连接时间从3秒改到30秒。
  3. TestOk中的Future设置超时时间。
  4. 交易轮询线程池可以配置
 <bean id="async" class="org.bcos.web3j.utils.Async">
   <constructor-arg type="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor" ref="pool" />
 </bean>

 <bean id="pool" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
   <property name="corePoolSize" value="50" />
   <property name="maxPoolSize" value="100" />
   <property name="queueCapacity" value="500" />
   <property name="keepAliveSeconds" value="60" />
   <property name="rejectedExecutionHandler">
    <bean class="java.util.concurrent.ThreadPoolExecutor.AbortPolicy" />
   </property>
 </bean>