v0.34.0_1
This commit is contained in:
1 parent
9b3d6731cc
commit
00f29f92c8
68 files changed
+2599
-513
No files matched your search
@@ -151,7 +151,11 @@ impl Logs {
|
||||
None
|
||||
};
|
||||
drop(evicted);
|
||||
let _ = self.live.send(entry.clone());
|
||||
// No live viewers means no reason to allocate/clone a second LogEntry.
|
||||
// History retention and external sinks remain unchanged.
|
||||
if self.live.receiver_count() != 0 {
|
||||
let _ = self.live.send(entry.clone());
|
||||
}
|
||||
self.push_sink(entry);
|
||||
}
|
||||
fn push_sink(&self, entry: LogEntry) {
|
||||
|
||||
Reference in new issue
Block a user