# UPGRADE_RETRY_MS

<!-- https://uncage.vercel.app/docs/api/agent/variables/upgrade_retry_ms/ -->

```ts
const UPGRADE_RETRY_MS: number;
```

Defined in: agent/src/agent.ts:211

Wait before retrying the same failed self-upgrade.
