- Notifications
You must be signed in to change notification settings - Fork924
Commita5d1977
authored
chore: increase autostop requirement leeway to two hours (#15445)
Closes#12612The problem in the linked issue was caused due to a mismatch of when theWeb UI tooltip shows up (2 hours before an autostop requirement) and theleeway in the `autostop_requirement` algorithm (workspace builds must be1 hour before an autostop requirement to skip them).Now, restarting your workspace whilst the tooltip is showing will skipthe upcoming autostop requirement.This also could have been fixed by only showing the tooltip one hourbefore the autostop requirement, but it looks like 1 hour was chosenarbitrarily, and it doesn't hurt to give users more time to skip theautostop.1 parent6cc1067 commita5d1977
2 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 |
| - | |
296 |
| - | |
| 295 | + | |
| 296 | + | |
297 | 297 |
| |
298 | 298 |
| |
299 | 299 |
| |
|
0 commit comments
Comments
(0)