import { startSLAMonitor, stopSLAMonitor } from '../../services/escalation.service';

/**
 * SLA Monitor Consumer
 * Periodically checks for approaching/breached SLAs
 */
export function startSLAMonitorConsumer(): void {
  startSLAMonitor(60_000); // Check every 60 seconds
  console.log('[Consumer:SLA] Monitor started (60s interval)');
}

export function stopSLAMonitorConsumer(): void {
  stopSLAMonitor();
}
