1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix race condition in available-prefix/ip APIs

Implement advisory lock to prevent duplicate records being inserted
when making simultaneous calls. Fixes #2519
This commit is contained in:
Matt Olenik
2019-12-13 11:52:59 -08:00
parent 2ab382eec5
commit 2e83ce76ed
4 changed files with 26 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ django-cors-headers==3.2.1
django-debug-toolbar==2.1
django-filter==2.2.0
django-mptt==0.9.1
django-pglocks==1.0.4
django-prometheus==1.1.0
django-rq==2.2.0
django-tables2==2.2.1