public QueueMonitor( ILogFactory logFactory, IHealthService healthService, QueueMonitorSettings setting) : base(setting.ScanPeriod, logFactory, nameof(QueueMonitor)) { _log = logFactory.CreateLog(this); _healthService = healthService; _setting = setting; }
public QueueMonitor( ILog log, IHealthService healthService, QueueMonitorSettings setting) : base(nameof(QueueMonitor), (int)setting.ScanPeriod.TotalMilliseconds, log) { _log = log; _healthService = healthService; _setting = setting; }