Skip to content

Use service.Dependencies to inject pack-objects cache

Change hook.NewServer to use the same dependency injection pattern used for other service dependencies. The benefit of this is that it ensures there is exactly one pack-objects cache instance in the Gitaly process.

Preparation for gitlab-com/gl-infra/scalability#1126.

Changelog: other

Edited by Jacob Vosmaer

Merge request reports

Loading