Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-12Add frozen_string_literal to spec/servicesThong Kuah
Probably useful as we often move these files to "new" files.
2018-06-27Rails5 fix MySQL milliseconds problem in specsJasper Maes
2018-05-16Introduce a new Keys::DestroyService serviceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-21Simplify a testNick Thomas
2017-09-20Stop using Sidekiq for updating Key#last_used_atYorick Peterse
This makes things simpler as no scheduling is involved. Further we remove the need for running a SELECT + UPDATE just to get the key and update it, whereas we only need an UPDATE when setting last_used_at directly in a request. The added service class takes care of updating Key#last_used_at without using Sidekiq. Further it makes sure we only try to obtain a Redis lease if we're confident that we actually need to do so, instead of always obtaining it. We also make sure to _only_ update last_used_at instead of also updating updated_at. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
2017-09-15created services for keyshaseeb