wanshenmean
5 天以前 90fa55064597236b9581304f232a607ffc7b730e
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_RedisService/Extensions/RedisServiceSetup.cs
@@ -71,6 +71,12 @@
            services.AddSingleton<ISessionStorage, RedisSessionStorage>();
            services.AddSingleton<IRedisMonitorService, RedisMonitorService>();
            // 后台服务(仅在启用L1缓存时注册)
            if (options.EnableL1Cache)
            {
                services.AddHostedService<CacheSyncBackgroundService>();
            }
            return services;
        }
    }