]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Stop holding the write lock when the SLURM is loaded
authorpcarana <pc.moreno2099@gmail.com>
Fri, 13 Mar 2020 16:36:04 +0000 (10:36 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Fri, 13 Mar 2020 16:36:04 +0000 (10:36 -0600)
commit0ca3e568ecd9778775d6c5d2bef04ca8546394df
tree32e2d591e9d12cd0ba8d8b16e8f468526b8139b2
parentac552f870ea83b724a0cd984a5e8039108d03217
Stop holding the write lock when the SLURM is loaded

There's no need to hold the lock, the SLURM loading action doesn't modify the current DB state; it's altering the new DB state, which will be utilized later to replace the current DB state (and that's where the lock is needed).
src/rtr/db/vrps.c