diff options
-rw-r--r-- | funcs.go | 1 | ||||
-rw-r--r-- | tx.go | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -35,6 +35,7 @@ func init() { func newTx() *Tx { tx := txPool.Get().(*Tx) tx.tries = 0 + tx.completed = false return tx } @@ -125,7 +125,7 @@ func (tx *Tx) recycle() { delete(tx.watching, v) v.watchers.Delete(tx) } - txPool.Put(tx) + //txPool.Put(tx) } func (tx *Tx) lockAllVars() { |