diff options
| author | Daniil Fedotov <hairyhum@gmail.com> | 2019-02-26 16:54:16 -0500 |
|---|---|---|
| committer | Daniil Fedotov <hairyhum@gmail.com> | 2019-02-26 16:54:16 -0500 |
| commit | e494ea4b20b2a02e217bf0549c27e9a47caa4643 (patch) | |
| tree | e9e1d5747df795b9a809ec0c97fb0502767b3aeb /src/gatherer.erl | |
| parent | b9873465666d143bd1fc70a828d417ce48b5b1c3 (diff) | |
| download | rabbitmq-server-git-e494ea4b20b2a02e217bf0549c27e9a47caa4643.tar.gz | |
Less aggressive locking for bindings add/reomve.
All binding operations aquire special locks for destination and source.
This is done to make sure bindings cannot be added or removed while
being cleaned up.
This means that adding and removing bindings for the same records may
conflict.
To avoid conflict the locks aquired during add/remove are now read locks.
This should improve performance in case of concurrent bindings creation
for the same resource.
Diffstat (limited to 'src/gatherer.erl')
0 files changed, 0 insertions, 0 deletions
