fix: prevent db deadlock when workspaces go dormant (#10618)

This commit is contained in:
Jon Ayers
2023-11-13 13:40:20 -06:00
committed by GitHub
parent 76e7a1d06b
commit 75ab16d19a
4 changed files with 113 additions and 34 deletions
-2
View File
@@ -488,8 +488,6 @@ SET
FROM
templates
WHERE
workspaces.template_id = templates.id
AND
workspaces.id = $1
RETURNING workspaces.*;