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 f443d0d commit e31f80bCopy full SHA for e31f80b
coderd/autobuild/executor/lifecycle_executor.go
@@ -196,7 +196,7 @@ func (e *Executor) runOnce(t time.Time) Stats {
196
}
197
198
func isEligibleForAutoStartStop(ws database.Workspace) bool {
199
- return ws.AutostartSchedule.String != "" || ws.Ttl.Int64 > 0
+ return !ws.Deleted && (ws.AutostartSchedule.String != "" || ws.Ttl.Int64 > 0)
200
201
202
func getNextTransition(
0 commit comments