mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-31 16:21:21 +00:00
e3: no wal support (#768)
This commit is contained in:
parent
2dcec83222
commit
c9972dbc8f
@ -329,7 +329,7 @@ func (ii *InvertedIndex) DiscardHistory(tmpdir string) {
|
||||
func (ii *InvertedIndex) StartWrites(tmpdir string) {
|
||||
ii.walLock.Lock()
|
||||
defer ii.walLock.Unlock()
|
||||
ii.wal = ii.newWriter(tmpdir, true, false)
|
||||
ii.wal = ii.newWriter(tmpdir, WALCollectorRam > 0, false)
|
||||
}
|
||||
func (ii *InvertedIndex) FinishWrites() {
|
||||
ii.walLock.Lock()
|
||||
|
Loading…
Reference in New Issue
Block a user