mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: clarify autostop behaviour for existing workspaces (#20295)
[We have tests to ensure this behaviour](https://github.com/coder/coder/blob/152103bf788dc5a4c06586302a255a212e0fe77d/coderd/workspaces_test.go#L2957-L3004), but it is not clearly documented. This PR adds a note clarifying autostop must be enabled on the template prior to a workspace being created for it to apply to the workspace, i.e. it is not re-read if a workspace is restarted / stopped and started. This behaviour was raised by a customer. https://coder.com/docs/user-guides/workspace-scheduling#autostop
This commit is contained in:
@@ -39,6 +39,9 @@ workspace if you're still using it. It will wait for the user to become inactive
|
||||
before checking connections again (1 hour by default). Template admins can
|
||||
modify this duration with the **activity bump** template setting.
|
||||
|
||||
> [!NOTE]
|
||||
> Autostop must be enabled on the template prior to workspace creation, it is not applied to existing running workspaces.
|
||||
|
||||

|
||||
|
||||
## Activity detection
|
||||
|
||||
Reference in New Issue
Block a user