This commit is contained in:
Chris Lu
2020-04-19 23:54:32 -07:00
parent df25ed3c5b
commit 2955b96ef1
4 changed files with 9 additions and 7 deletions

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