This commit is contained in:
Chris Lu
2021-07-21 14:38:12 -07:00
parent cc32436d63
commit 7359193e97
8 changed files with 16 additions and 17 deletions

View File

@@ -170,8 +170,8 @@ func (m *LogBuffer) copyToFlush() *dataToFlush {
m.lastFlushTime = m.stopTime
}
m.buf = m.prevBuffers.SealBuffer(m.startTime, m.stopTime, m.buf, m.pos)
m.startTime = time.Unix(0,0)
m.stopTime = time.Unix(0,0)
m.startTime = time.Unix(0, 0)
m.stopTime = time.Unix(0, 0)
m.pos = 0
m.idx = m.idx[:0]
return d