gitlab-org--gitlab-foss/spec/services/users
Yorick Peterse 6f88984b0d
Synchronize all project authorization refreshing
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
2017-01-16 16:37:48 -05:00
..
refresh_authorized_projects_service_spec.rb Synchronize all project authorization refreshing 2017-01-16 16:37:48 -05:00