mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: auto-stop bumper works and refreshes (#5162)
* Publish updates to workspace deadline * Fix sync between machines
This commit is contained in:
@@ -784,6 +784,7 @@ func (api *API) putExtendWorkspace(rw http.ResponseWriter, r *http.Request) {
|
||||
if err != nil {
|
||||
api.Logger.Info(ctx, "extending workspace", slog.Error(err))
|
||||
}
|
||||
api.publishWorkspaceUpdate(ctx, workspace.ID)
|
||||
httpapi.Write(ctx, rw, code, resp)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user