fix: auto-stop bumper works and refreshes (#5162)

* Publish updates to workspace deadline

* Fix sync between machines
This commit is contained in:
Presley Pizzo
2022-11-28 10:59:43 -05:00
committed by GitHub
parent 898ba11ef0
commit d5ab4fdeb8
3 changed files with 7 additions and 11 deletions

View File

@ -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)
}