[June 15, 2022] Codespace retention (i.e. automatic deletion) (#27869)
Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com> Co-authored-by: Tanmayee Kamath <30297258+tanmayeekamath@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Setting your timeout period for Codespaces
|
||||
shortTitle: Set the timeout
|
||||
intro: 'You can set your default timeout for {% data variables.product.prodname_codespaces %} in your personal settings page.'
|
||||
product: '{% data reusables.gated-features.codespaces %}'
|
||||
versions:
|
||||
@@ -7,7 +8,7 @@ versions:
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Codespaces
|
||||
shortTitle: Set the timeout
|
||||
type: how_to
|
||||
---
|
||||
|
||||
A codespace will stop running after a period of inactivity. You can specify the length of this timeout period. The updated setting will apply to any newly created codespace.
|
||||
@@ -22,7 +23,7 @@ Some organizations may have a maximum idle timeout policy. If an organization po
|
||||
|
||||
{% webui %}
|
||||
|
||||
## Setting your default timeout
|
||||
## Setting your default timeout period
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.codespaces-tab %}
|
||||
@@ -33,7 +34,7 @@ Some organizations may have a maximum idle timeout policy. If an organization po
|
||||
|
||||
{% cli %}
|
||||
|
||||
## Setting your timeout period
|
||||
## Setting the timeout period for a codespace
|
||||
|
||||
{% data reusables.cli.cli-learn-more %}
|
||||
|
||||
@@ -46,3 +47,11 @@ gh codespace create --idle-timeout 90m
|
||||
If you don't specify a timeout period when you create a codespace, then the default timeout period will be used. For information about setting a default timeout period, click the "Web browser" tab on this page. You can't currently specify a default timeout period through {% data variables.product.prodname_cli %}.
|
||||
|
||||
{% endcli %}
|
||||
|
||||
{% vscode %}
|
||||
|
||||
## Setting a timeout period
|
||||
|
||||
You can set your default timeout period in your web browser, on {% data variables.product.prodname_dotcom_the_website %}. Alternatively, if you use {% data variables.product.prodname_cli %} to create a codespace you can set a timeout period for that particular codespace. For more information, click the appropriate tab above.
|
||||
|
||||
{% endvscode %}
|
||||
Reference in New Issue
Block a user