/**
 * config/escalation.js
 * Central tunables for the auto-escalation pipeline.
 */

'use strict';

const HOUR = 60 * 60 * 1000;

module.exports = {
  // How long after the initial send to wait before forwarding to the next
  // step in the escalation chain. Operator can mark "responded" to stop this.
  ESCALATION_WINDOW_MS: 30 * HOUR,

  // How often the background job runs (ms).
  AUTO_ESCALATE_TICK_MS: 30 * 60 * 1000, // 30 min

  // Maximum number of steps to attempt before giving up.
  MAX_ESCALATION_STEPS: 5,
};
