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?
-
Changelog entry added [ ] Documentation created/updated[ ] API support added- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together