Can you or can you not set a timeout for Codespaces

Tecrogue 20 Reputation points Microsoft Employee
2024-03-28T22:39:29.8833333+00:00

In The Codespace lifecycle it states:

Timeouts for a Codespace

If a Codespace is inactive, or if you exit your Codespace without explicitly stopping, the application times out after a period of inactivity and stops running. The default timeout is after 30 minutes of inactivity. You can't customize the duration of the timeout period for new Codespaces. When a Codespace times out, your data is kept from the last time your changes were saved.

However in the next section of the same page:

Close or stop a Codespace

If you exit the Codespace without running the stop command (for example, by closing the browser tab) or leave the Codespace running without interaction, the Codespace and its running processes continue during the inactivity timeout period. The default inactivity timeout period is 30 minutes. You can define your personal timeout setting for Codespaces you create, but this may be overruled by an organization's timeout policy.

So, with the contradiction... which is it? The module will likely need to be updated to match.

GitHub Training
GitHub Training
GitHub: A web-based hosting service for software development and version control using Git. Acquired by Microsoft in 2018.Training: Instruction to develop new skills.
4 questions
{count} votes

Accepted answer
  1. Srinud 1,065 Reputation points Microsoft Vendor
    2024-04-19T14:07:56+00:00

    Hi Tecrogue,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    Please find the screenshot attached below where we can see the updated section from the module.

    User's image

    If the information is helpful, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.

    If you have any further queries, please let us know in the comments. We are glad to help you.

    Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful