summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-01-16 16:34:13 -0500
committerYorick Peterse <yorickpeterse@gmail.com>2017-01-16 16:37:48 -0500
commit6f88984b0d935b5c39b063969c14204cf0a62362 (patch)
tree29d3ca6f3aeed57d366e473fee2f2b75ec30be7f /app/services/ci
parent142be72a2aa6920fa60cc267737f2e702fdeae12 (diff)
downloadgitlab-ce-6f88984b0d935b5c39b063969c14204cf0a62362.tar.gz
Synchronize all project authorization refreshingrefresh-authorizations-tighter-lease
Previously a lease would only be obtained to update data. This could lead to duplicate data being inserted, triggering a UNIQUE constraint error. To work around this we now acquire a lease before performing _any_ project authorization work, releasing it at the very end. Fixes #25987
Diffstat (limited to 'app/services/ci')
0 files changed, 0 insertions, 0 deletions