Package canonical Aetheria state as one CultCache

This commit is contained in:
Meta Vens 2026-07-16 13:58:45 +01:00
commit d33ede0889
8 changed files with 39 additions and 20 deletions

View file

@ -41,7 +41,8 @@ public sealed class AetheriaStateNode : IAsyncDisposable, IDisposable
string statePath,
string runtimeId = "aetheria-local",
bool startServer = false,
bool enableDurableShardLogs = true)
bool enableDurableShardLogs = true,
bool useDirectoryStore = true)
{
if (string.IsNullOrWhiteSpace(statePath))
{
@ -62,7 +63,7 @@ public sealed class AetheriaStateNode : IAsyncDisposable, IDisposable
Registry = cacheRegistry,
PullOnOpen = true,
StoreFlushOnDispose = true,
UseDirectoryStore = true
UseDirectoryStore = useDirectoryStore
},
DatabaseOptions = new CultNetDatabaseOptions
{