Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita07ca94

Browse files
authored
Increase default auto-stop to 12h (#3631)
Resolves#3462.And, clarify language toresolve#3509.
1 parent8ca3fa9 commita07ca94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎coderd/workspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
"github.com/coder/coder/codersdk"
3333
)
3434

35-
constworkspaceDefaultTTL=2*time.Hour
35+
constworkspaceDefaultTTL=12*time.Hour
3636

3737
var (
3838
ttlMin=time.Minute//nolint:revive // min here means 'minimum' not 'minutes'

‎site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const Language = {
5454
timezoneLabel:"Timezone",
5555
ttlLabel:"Time until shutdown (hours)",
5656
ttlCausesShutdownHelperText:"Your workspace will shut down",
57-
ttlCausesShutdownAfterStart:"after start",
57+
ttlCausesShutdownAfterStart:"afterits nextstart",
5858
ttlCausesNoShutdownHelperText:"Your workspace will not automatically shut down.",
5959
formTitle:"Workspace schedule",
6060
startSection:"Start",

‎site/src/pages/WorkspaceSchedulePage/ttl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export interface AutoStop {
55

66
exportconstemptyTTL=0
77

8-
exportconstdefaultTTL=8
8+
exportconstdefaultTTL=12
99

1010
constmsToHours=(ms:number)=>Math.round(ms/(1000*60*60))
1111

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp