Package canonical Aetheria state as one CultCache
This commit is contained in:
parent
890214113c
commit
d33ede0889
8 changed files with 39 additions and 20 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue