mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/storage: Reset batch explicitly after write
This commit is contained in:
parent
10bd9583a9
commit
c4f3af8e01
1 changed files with 1 additions and 0 deletions
|
|
@ -672,6 +672,7 @@ func (s *LDBStore) CleanGCIndex() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
batch.Reset()
|
||||
|
||||
log.Debug("clean gc index pass", "batch", cleanBatchCount, "checked", i, "kept", len(idxs))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue