mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(coderd/database): reduce db load via dbpurge advisory locking (#13021)
This commit is contained in:
@@ -9,6 +9,7 @@ const (
|
||||
LockIDDeploymentSetup = iota + 1
|
||||
LockIDEnterpriseDeploymentSetup
|
||||
LockIDDBRollup
|
||||
LockIDDBPurge
|
||||
)
|
||||
|
||||
// GenLockID generates a unique and consistent lock ID from a given string.
|
||||
|
||||
Reference in New Issue
Block a user