Make runtime catalog a typed cached authority
This commit is contained in:
parent
46bfd7d241
commit
1747a8788e
10 changed files with 86 additions and 12 deletions
|
|
@ -98,6 +98,7 @@ await using (var node = await AetheriaStateNode.OpenAsync(statePath, "aetheria-s
|
|||
});
|
||||
|
||||
await node.FlushAsync();
|
||||
await node.RefreshRuntimeCatalogAsync();
|
||||
var runtimeCatalog = await node.RuntimeCatalog().LatestAsync().ConfigureAwait(false);
|
||||
await node.MutableDocument<EveSurfaceDocument>(AetheriaStateNode.CatalogSurfaceKey)
|
||||
.ReplaceAsync(AetheriaEveSurfaceDocuments.BuildCatalogSurface(runtimeCatalog, now));
|
||||
|
|
|
|||
Loading…
Reference in a new issue