@ -66,16 +66,20 @@ func (logBuffer *LogBuffer) LoopProcessLogData(readerName string, startPosition
isDone = true
return
}
lastTsNs := logBuffer.LastTsNs
for lastTsNs == logBuffer.LastTsNs {
if waitForDataFn() {
continue
} else {
if logBuffer.IsStopping() {
buf := bytesBuf.Bytes()