Commit 7b04a666 authored by 李伟@五瓣科技's avatar 李伟@五瓣科技

rm time limit and max tx limit

parent 9c800f8d
......@@ -187,10 +187,10 @@ func (t *Transactor) sendLoop() {
}()
for {
if t.config.Count > 0 && t.GetTxCount() >= t.config.Count {
t.logger.Info("Maximum transaction limit reached", "count", t.GetTxCount())
t.setStop(nil)
}
// if t.config.Count > 0 && t.GetTxCount() >= t.config.Count {
// t.logger.Info("Maximum transaction limit reached", "count", t.GetTxCount())
// t.setStop(nil)
// }
select {
case <-sendTicker.C:
if err := t.sendTransactions(); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment