gitlab-org--gitlab-foss/app
Rémy Coutable 92bacb9925 Merge branch 'remove-reset-project-activity-lease' into 'master'
Remove lease from Event#reset_project_activity

## What does this MR do?

This removes the exclusive lease used by `Event#reset_project_activity` in favour of conditional UPDATE queries. See dbcc623a901cb3fb725976217416bafad73dbf69 for more information.

## Why was this MR needed?

Obtaining the lease can, for whatever reason, be _really_ slow. See https://gitlab.com/gitlab-org/gitlab-ce/issues/22473 for more information.

https://gitlab.com/gitlab-org/gitlab-ce/issues/22473

See merge request !6678
2016-10-05 08:17:35 +00:00
..
assets Merge branch 'fix-todo-mobile-view' into 'master' 2016-10-04 19:12:51 +00:00
controllers Merge branch 'restrict-failed-2fa-attempts' into 'master' 2016-10-04 15:04:57 +00:00
finders Take filters in account in issuable counters 2016-09-30 12:02:54 +02:00
helpers Merge branch '22343-honor-user-fixed-layout-pref' into 'master' 2016-10-04 11:58:15 +00:00
mailers change determine conditions 2016-10-03 18:07:28 +08:00
models Merge branch 'remove-reset-project-activity-lease' into 'master' 2016-10-05 08:17:35 +00:00
policies Cycle analytics should be accessible to all for public projects. 2016-09-20 16:22:19 +05:30
services Skip wiki creation when GitHub project has wiki enabled 2016-10-04 13:06:45 -03:00
uploaders
validators Add '.well-known' to the list of reserved namespaces 2016-09-29 10:36:38 +02:00
views Merge branch '22343-honor-user-fixed-layout-pref' into 'master' 2016-10-04 11:58:15 +00:00
workers Optimized event pruning query to avoid two queries. 2016-09-07 12:55:25 -07:00