This commit is contained in:
Chris Lu committed 2020-04-19 23:54:32 -07:00
1 parent df25ed3c5b
commit 2955b96ef1
4 files changed
+9 -7

No files matched your search

+2 -1
View File
@@ -12,7 +12,8 @@ import (
)
func (logBuffer *LogBuffer) LoopProcessLogData(
startTreadTime time.Time, waitForDataFn func() bool, eachLogDataFn func(logEntry *filer_pb.LogEntry) error) (processed int64, err error) {
startTreadTime time.Time, waitForDataFn func() bool,
eachLogDataFn func(logEntry *filer_pb.LogEntry) error) (processed int64, err error) {
// loop through all messages
var bytesBuf *bytes.Buffer
lastReadTime := startTreadTime