gitlab-org--gitlab-foss/app/models/ci
Zeger-Jan van de Weg 3411fef1df
Cache commits on the repository model
Now, when requesting a commit from the Repository model, the results are
not cached. This means we're fetching the same commit by oid multiple times
during the same request. To prevent us from doing this, we now cache
results. Caching is done only based on object id (aka SHA).

Given we cache on the Repository model, results are scoped to the
associated project, eventhough the change of two repositories having the
same oids for different commits is small.
2017-10-27 12:49:11 +02:00
..
artifact_blob.rb Fix the external URLs generated for online view of HTML artifacts 2017-10-20 23:38:35 +01:00
build.rb Extract Ci::Build#parse_trace_sections! into a service 2017-10-06 12:33:10 +02:00
build_trace_section.rb Add CI build trace sections extractor 2017-10-05 15:42:25 +02:00
build_trace_section_name.rb Add CI build trace sections extractor 2017-10-05 15:42:25 +02:00
group.rb Real time pipeline show action 2017-05-06 16:45:46 +00:00
group_variable.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
legacy_stage.rb Rename Ci::Stage class to Ci::LegacyStage 2017-06-01 12:00:37 +02:00
pipeline.rb Cache commits on the repository model 2017-10-27 12:49:11 +02:00
pipeline_schedule.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
pipeline_schedule_variable.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
pipeline_variable.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
runner.rb Fix locked shared runners problem 2017-09-25 16:23:13 +02:00
runner_project.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
stage.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
trigger.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
trigger_request.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00
variable.rb move lib/ci/model.rb into lib/gitlab/ci/model.rb 2017-09-12 22:32:01 +03:00