Skip to content

Commit 92ba1a8

Browse files
authored
Steven clontz/codespace resources (#48)
* add codespace resources info * fix image, tweak words
1 parent e49eb6e commit 92ba1a8

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
42.8 KB
Loading

source/ch-coding.ptx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,29 @@ A deleted Codespace can always be recreated later based upon your most
284284
recent commit.
285285
</p>
286286
</note>
287+
<remark xml:id="remark-adjusting-defaults">
288+
<p>
289+
<xref ref="figure-codespace-timeout-retention"/> shows a screenshot of
290+
some settings available on
291+
<url href="https://github.com/settings/codespaces">github.com/settings/codespaces</url>
292+
to adjust the default time your Codespace can idle before it times out
293+
(to save your compute time resources), and to adjust the default time
294+
your Codespace will be retained before it is deleted
295+
(to save your storage resources).
296+
</p>
297+
</remark>
298+
<figure xml:id="figure-codespace-timeout-retention">
299+
<caption>Screenshot of Codespace management settings</caption>
300+
<image source="screenshots/codespace-timeout-retention.png">
301+
<description>
302+
<p>Screenshot of a web browser. Its text follows:</p>
303+
<p>Default idle timeout</p>
304+
<p>A codespace will suspend after a period of inactivity. You can specify a default idle timeout value, which will apply to all codespaces created after the default is changed. You will be charged for the entire time your codespace is running, even if it is idle. The maximum value is 240 minutes (4 hours).</p>
305+
<p>Default retention period</p>
306+
<p>Inactive codespaces are automatically deleted 30 days after the last time they were stopped. A shorter retention period can be set, and will apply to all codespaces created going forward. The default and maximum value is 30 days. Learn about retention setting</p>
307+
</description>
308+
</image>
309+
</figure>
287310
<p>
288311
Putting it all together, we have seen three ways to access files on your repo.
289312
Going from the least easy to edit to the most editable we have: <c>GitHub.com</c>,

0 commit comments

Comments
 (0)