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
|
# When adding a new key, pick something arbitrary and unique so that it is easily searchable in
|
||||||
# query logs.
|
# query logs.
|
||||||
ADVISORY_LOCK_KEYS = {
|
ADVISORY_LOCK_KEYS = {
|
||||||
|
# Available object locks
|
||||||
'available-prefixes': 100100,
|
'available-prefixes': 100100,
|
||||||
'available-ips': 100200,
|
'available-ips': 100200,
|
||||||
'available-vlans': 100300,
|
'available-vlans': 100300,
|
||||||
'available-asns': 100400,
|
'available-asns': 100400,
|
||||||
|
|
||||||
# MPTT locks
|
# MPTT locks
|
||||||
'region': 100500,
|
'region': 105100,
|
||||||
'sitegroup': 100501,
|
'sitegroup': 105200,
|
||||||
'location': 100502,
|
'location': 105300,
|
||||||
'tenantgroup': 100503,
|
'tenantgroup': 105400,
|
||||||
'contactgroup': 100504,
|
'contactgroup': 105500,
|
||||||
'wirelesslangroup': 100505,
|
'wirelesslangroup': 105600,
|
||||||
'inventoryitem': 100506,
|
'inventoryitem': 105700,
|
||||||
'inventoryitemtemplate': 100507,
|
'inventoryitemtemplate': 105800,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user