Skip clean CultCache directory flushes
This commit is contained in:
parent
cce542d824
commit
f714ceee43
2 changed files with 45 additions and 0 deletions
|
|
@ -175,6 +175,11 @@ public sealed class DirectoryMessagePackBackingStore : CacheBackingStore
|
|||
/// <inheritdoc />
|
||||
public override void PushAll(bool soft = false)
|
||||
{
|
||||
if (!IsDirty && !_needsIndexUpgrade)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Directory.CreateDirectory(_manifestFile.DirectoryName!);
|
||||
Directory.CreateDirectory(_recordDirectory.FullName);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue