mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-07-30 23:24:44 +08:00
log
This commit is contained in:
parent
b0de01ff3b
commit
759cda0fe2
@ -30,6 +30,7 @@ func (logBuffer *LogBuffer) LoopProcessLogData(
|
||||
logBuffer.ReleaseMeory(bytesBuf)
|
||||
}
|
||||
bytesBuf = logBuffer.ReadFromBuffer(lastReadTime)
|
||||
// fmt.Printf("ReadFromBuffer by %v\n", lastReadTime)
|
||||
if bytesBuf == nil {
|
||||
if waitForDataFn() {
|
||||
continue
|
||||
@ -39,6 +40,7 @@ func (logBuffer *LogBuffer) LoopProcessLogData(
|
||||
}
|
||||
|
||||
buf := bytesBuf.Bytes()
|
||||
// fmt.Printf("ReadFromBuffer by %v size %d\n", lastReadTime, len(buf))
|
||||
|
||||
batchSize := 0
|
||||
var startReadTime time.Time
|
||||
|
Loading…
Reference in New Issue
Block a user