mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 15:00:43 +02:00
message broker: read also from sealed memory buffer
This commit is contained in:
1 parent
bd43c62fbd
commit
4bf959edf0
3 files changed
+22
-2
No files matched your search
@@ -122,6 +122,11 @@ func (m *LogBuffer) loopInterval() {
|
||||
m.Unlock()
|
||||
m.flushChan <- toFlush
|
||||
time.Sleep(m.flushInterval)
|
||||
if m.notifyFn != nil {
|
||||
// check whether blocked clients are already disconnected
|
||||
println("notifying log buffer readers")
|
||||
m.notifyFn()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user