fix(tracker): ignore ts-only batches

This commit is contained in:
Alex Kaminskii 2022-08-04 11:43:00 +02:00 committed by Alexander Zavorotynskiy
parent 8e3fdbdafe
commit 14b0f78abc

View file

@ -67,7 +67,7 @@ export default class BatchWriter {
e.set(this.sizeEncoder.flush(), startOffset - SIZE_BYTES)
e.checkpoint()
this.isEmpty = false
this.isEmpty = this.isEmpty && message[0] === Messages.Type.Timestamp
this.nextIndex++
}
// app.debug.log