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:
authorAhmad Sherif <me@ahmadsherif.com>2020-11-19 19:30:44 +0300
committerAhmad Sherif <me@ahmadsherif.com>2020-12-09 13:09:21 +0300
commitc000a7a19cb7e6c47da811d8d0c96ffca77ba8a7 (patch)
tree9490694156cd415ef7164b29690c24f78a427507 /config.toml.example
parentf085d841e2f5571b260910a454215bc1a7687bf0 (diff)
Add initial implementation of spawning git inside cgroups
Related to https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/11648
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index befe90a37..f3312072c 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -117,3 +117,16 @@ self_signed_cert = false
# start_minute = 30
# duration = "45m"
# storages = ["default"]
+
+# [cgroups]
+# count = 10
+# mountpoint = "/sys/fs/cgroup"
+# hierarchy_root = "gitaly"
+
+# [cgroups.memory]
+# enabled = true
+# limit = 1048576
+
+# [cgroups.cpu]
+# enabled = true
+# shares = 512