perf(messagemanager): switch pending queue to linked list, quiet privacy log
PendingSync läuft jetzt als LinkedList (O(1) Last statt O(n) Linq-Last im ContentIdResolverHook); Privacy-Filter-Drop-Log auf Verbose runter, sodass der Default-xllog-Stream nicht mehr pro Nachricht spammt.
This commit is contained in:
@@ -452,7 +452,10 @@ internal class MessageStore : IDisposable
|
||||
// covers any future write paths e.g. webinterface backfill).
|
||||
if (!Plugin.Config.IsAllowedForStorage(message.Code.Type))
|
||||
{
|
||||
Plugin.Log.Debug($"Privacy filter dropped message: ChatType={message.Code.Type}");
|
||||
// Verbose-only: this fires for every dropped message, which is
|
||||
// the common case for users with a tight privacy whitelist. Keep
|
||||
// it for diagnostics but stay out of the default xllog stream.
|
||||
Plugin.Log.Verbose($"Privacy filter dropped message: ChatType={message.Code.Type}");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user