feat(gateway): normalize array AddItem suffix and expand sparse writes at the worker boundary
This commit is contained in:
@@ -8,6 +8,9 @@ public static class SessionServiceCollectionExtensions
|
||||
/// <returns>The service collection for chaining.</returns>
|
||||
public static IServiceCollection AddGatewaySessions(this IServiceCollection services)
|
||||
{
|
||||
// Lifetime consistent with IGalaxyHierarchyCache (singleton); the normalizer reads the
|
||||
// cache's current snapshot per call, so it holds no per-session or per-request state.
|
||||
services.AddSingleton<ArrayAddressNormalizer>();
|
||||
services.AddSingleton<ISessionRegistry, SessionRegistry>();
|
||||
services.AddSingleton<ISessionWorkerClientFactory, SessionWorkerClientFactory>();
|
||||
services.AddSingleton<ISessionManager, SessionManager>();
|
||||
|
||||
Reference in New Issue
Block a user