Flush the media cache without the ignored soft flag

CultCache.FlushAsync(bool soft) ignored soft and CultLib is deleting the
parameter; the media put path now calls FlushAsync().

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-14 14:12:28 +02:00
commit d88f2e6dc1

View file

@ -419,7 +419,7 @@ sealed class RudpMediaRelay : IDisposable
}
await registry.ApplyRawDocumentPutMessageAsync(cache, put).ConfigureAwait(false);
await cache.FlushAsync(soft: true).ConfigureAwait(false);
await cache.FlushAsync().ConfigureAwait(false);
var change = new CultNetDatabaseChangeRawMessage
{
MessageId = Guid.NewGuid().ToString("N"),