Remove explicit garbage collection.
This commit is contained in:
parent
19880b177e
commit
83b1e74d6c
1 changed files with 0 additions and 2 deletions
|
@ -15,7 +15,6 @@ import (
|
|||
"github.com/conformal/goleveldb/leveldb/opt"
|
||||
"github.com/conformal/seelog"
|
||||
"os"
|
||||
"runtime"
|
||||
"sync"
|
||||
)
|
||||
|
||||
|
@ -548,7 +547,6 @@ func (db *LevelDb) processBatches() error {
|
|||
}
|
||||
db.lbatch.Reset()
|
||||
db.txUpdateMap = map[btcwire.ShaHash]*txUpdateObj{}
|
||||
runtime.GC()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue