Skip to content

Record used SSH keys only once per day

What does this MR do?

It uses Gitlab::ExclusiveLease to make sure that we enqueue Sidekiq job at most once per day for given key.

Why was this MR needed?

Performance problems described in #26877 (closed)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/26877

Merge request reports