Merge branch 'expiring-lock' into 'master'
Use an exclusive lease for LDAP checks
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14134
Merge https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3140 first.
Only perform LDAP checks for a user after acquiring a lease. Checks
during user login do not require a lease.
The lease has a fixed expire time of 10 minutes.
See merge request !3143
Showing
lib/gitlab/exclusive_lease.rb
0 → 100644
spec/lib/gitlab/exclusive_lease_spec.rb
0 → 100644
Please
register
or
sign in
to comment