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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cgroups/v1_linux.go')
-rw-r--r--internal/cgroups/v1_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cgroups/v1_linux.go b/internal/cgroups/v1_linux.go
index dcbf04256..0a462c01f 100644
--- a/internal/cgroups/v1_linux.go
+++ b/internal/cgroups/v1_linux.go
@@ -104,7 +104,7 @@ func (cg *CGroupV1Manager) AddCommand(
repo repository.GitRepo,
) error {
checksum := crc32.ChecksumIEEE(
- []byte(strings.Join([]string{repo.GetStorageName(), repo.GetRelativePath()}, "")),
+ []byte(repo.GetStorageName() + "/" + repo.GetRelativePath()),
)
groupID := uint(checksum) % cg.cfg.Repositories.Count
cgroupPath := cg.repoPath(int(groupID))