Workspaces Recycling Mechanism
About 173 wordsLess than 1 minute
Workspaces Recycling Mechanism explains when a development environment is recycled.
When to use: when you want to know how long an environment is kept, or why it was recycled — for example after coming back from a long break and finding it closed.
Environments are used on demand and recycled when idle. The rules are:
- Auto recycle: the environment is recycled when either condition is met.
- The VS Code page is not entered within 10 minutes of creation.
- The page was opened and closed, and there is no activity for 10 minutes.
- Maximum retention time: 18 hours by default, maintained by continuous heartbeat. It is also affected by cluster configuration; see Build Nodes.
- No overnight workspaces: usage exceeds 8 hours and falls within the 4-6 AM window, so the workspace is forcibly recycled.