We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cbf5d commit 6403e11Copy full SHA for 6403e11
coderd/schedule/autostop.go
@@ -17,10 +17,10 @@ const (
17
// requirement where we skip the requirement and fall back to the next
18
// scheduled stop. This avoids workspaces being stopped too soon.
19
//
20
- // E.g. If the workspace is started within an hour of the quiet hours, we
+ // E.g. If the workspace is started within two hours of the quiet hours, we
21
// will skip the autostop requirement and use the next scheduled
22
// stop time instead.
23
- autostopRequirementLeeway = 1 * time.Hour
+ autostopRequirementLeeway = 2 * time.Hour
24
25
// autostopRequirementBuffer is the duration of time we subtract from the
26
// time when calculating the next scheduled stop time. This avoids issues
0 commit comments