Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nolint
  • Loading branch information
johnstcn committed Jul 29, 2022
commit f0019e6fdf36b612808cee2cef1748f898c9f0b0
2 changes: 1 addition & 1 deletion coderd/workspaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
const workspaceDefaultTTL = 2 * time.Hour

var (
ttlMin = time.Minute
ttlMin = time.Minute //nolint:time-naming // min here means 'minimum' not 'minutes'
ttlMax = 7 * 24 * time.Hour

errTTLMin = xerrors.New("time until shutdown must be at least one minute")
Expand Down