mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-23 07:56:44 -06:00
Tweak advisory lock numbering
This commit is contained in:
parent
870b1fabe5
commit
537ef80bde
@ -11,18 +11,19 @@ RQ_QUEUE_LOW = 'low'
|
||||
# When adding a new key, pick something arbitrary and unique so that it is easily searchable in
|
||||
# query logs.
|
||||
ADVISORY_LOCK_KEYS = {
|
||||
# Available object locks
|
||||
'available-prefixes': 100100,
|
||||
'available-ips': 100200,
|
||||
'available-vlans': 100300,
|
||||
'available-asns': 100400,
|
||||
|
||||
# MPTT locks
|
||||
'region': 100500,
|
||||
'sitegroup': 100501,
|
||||
'location': 100502,
|
||||
'tenantgroup': 100503,
|
||||
'contactgroup': 100504,
|
||||
'wirelesslangroup': 100505,
|
||||
'inventoryitem': 100506,
|
||||
'inventoryitemtemplate': 100507,
|
||||
'region': 105100,
|
||||
'sitegroup': 105200,
|
||||
'location': 105300,
|
||||
'tenantgroup': 105400,
|
||||
'contactgroup': 105500,
|
||||
'wirelesslangroup': 105600,
|
||||
'inventoryitem': 105700,
|
||||
'inventoryitemtemplate': 105800,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user