mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix(coderd/database): reduce db load via dbpurge advisory locking (#13021)
This commit is contained in:
committed by
GitHub
parent
8a1216254e
commit
3adcccb618
@ -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