• Robert Ricci's avatar
    When removing VLANs, get a new lock on the edit buffer for each VLAN · e5986abc
    Robert Ricci authored
    we're going to remove. We used to do all VLANs in one lock for
    performace reasons - however, I'm discovering that the lock can get
    held for such a long time when many VLANs are being deleted that other
    VLAN operations, such as listing VLANs, can fail. And, it's not
    actually that much slower to grab a new lock each time.