---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/variables/DEFAULT_CRASH_POLICY_MAX_CRASHES.md
description: >-
  How many crashes inside the window are tolerated (with `'respawn'`) before
  `'giveUp'`.
---

# Variable: DEFAULT\_CRASH\_POLICY\_MAX\_CRASHES

```ts
const DEFAULT_CRASH_POLICY_MAX_CRASHES: 3 = 3;
```

Defined in: [src/batteries/isolation/crash\_policy.ts:22](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/isolation/crash_policy.ts#L22)

How many crashes inside the window are tolerated (with `'respawn'`) before `'giveUp'`.
