Coder.comC
Coder.com2y ago
14 replies
bamhm182 (BytePen)

Workspaces have been stopping while I am using them

I currently have all of my workspaces set with an auto stop of 24 hours. Ideally, what I'm after is to have my time left extend to that 24 hours each time I use the computer, but I have recently had several times where I am using a workspace, then it drops off. When I dig into it, it shuts off because the auto stop timer hit 0. What's weird is that the "Last used" says "Now" correctly when I am using it, but it does anyway.

I'm opening this thread to ask two questions:

1. Under what conditions is that auto stop timer extended and how can I check that it should be being extended?
2. Is there any way to have it extend the auto stop time by a certain number of hours, or just reset it to the max every time there is activity?

I am currently using 2 templates. One is kind of pieced together and I'm not surprised when it doesn't behave correctly (though it is overall very good), and the other is basically just the standard Docker template (but used with Podman on the backend). I would expect the Docker one to extend properly, but it has also dropped me in the middle of work.
https://github.com/bamhm182/Coder-Templates/blob/wip-initial/podman-coder-ws/main.tf
Was this page helpful?