fix: pass nil to signal.result

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2025-07-22 23:18:44 +08:00
parent 228d0b653a
commit 5fe9e85eb9

View file

@ -427,6 +427,7 @@ func (i *indexIniter) run(lastID uint64) {
}
// Adjust the indexing target and relaunch the process
lastID = newLastID
signal.result <- nil
done, interrupt = make(chan struct{}), new(atomic.Int32)
go i.index(done, interrupt, lastID)
log.Debug("Shortened state history range", "last", lastID)