Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

228 B
Raw Blame
/** Delay before the next maintenance attempt after `failures` failed ones: 2 min doubling, at most 6 h. */
export const maintenanceBackoff = (failures: number) =>
  Math.min(6 * 3_600_000, 60_000 * 2 ** Math.min(failures, 9));