diff --git a/MareSynchronosServer/MareSynchronosServer/Services/SystemInfoService.cs b/MareSynchronosServer/MareSynchronosServer/Services/SystemInfoService.cs index b597a09..5ea53ac 100644 --- a/MareSynchronosServer/MareSynchronosServer/Services/SystemInfoService.cs +++ b/MareSynchronosServer/MareSynchronosServer/Services/SystemInfoService.cs @@ -25,7 +25,7 @@ public class SystemInfoService : IHostedService, IDisposable public SystemInfoDto SystemInfoDto { get; private set; } = new(); public SystemInfoService(MareMetrics mareMetrics, IConfigurationService configurationService, IServiceProvider services, - ILogger logger, IHubContext hubContext, IRedisDatabase redisDb, IConnectionMultiplexer connectionMultiplexer) + ILogger logger, IHubContext hubContext, IRedisDatabase redisDb) { _mareMetrics = mareMetrics; _config = configurationService; @@ -33,7 +33,7 @@ public class SystemInfoService : IHostedService, IDisposable _logger = logger; _hubContext = hubContext; _redis = redisDb; - _connectionMultiplexer = connectionMultiplexer; + _connectionMultiplexer = _redis.Database.Multiplexer; } public Task StartAsync(CancellationToken cancellationToken)