stop when in memory log is done

This commit is contained in:
chrislu committed 2022-05-30 15:25:21 -07:00
1 parent aece35a64f
commit f214dfb1f5
4 files changed
+18 -11

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ func TestNewLogBufferFirstBuffer(t *testing.T) {
}
receivedmessageCount := 0
lb.LoopProcessLogData("test", startTime, func() bool {
lb.LoopProcessLogData("test", startTime, 0, func() bool {
// stop if no more messages
return false
}, func(logEntry *filer_pb.LogEntry) error {