ChainClient.loopQueryResultByTxId设计不合理
观察到时长平均2014ms,也就是说第一次查询基本没查到,走了Thread.sleep(2000)逻辑。 建议改成先Thread.sleep(),再getTxByTxId查询,Thread.sleep()时间建议可配,2000ms过长。
观察到时长平均2014ms,也就是说第一次查询基本没查到,走了Thread.sleep(2000)逻辑。 建议改成先Thread.sleep(),再getTxByTxId查询,Thread.sleep()时间建议可配,2000ms过长。
Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。