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:
authorToon Claes <toon@gitlab.com>2022-04-14 22:18:39 +0300
committerToon Claes <toon@gitlab.com>2022-04-14 22:18:39 +0300
commit6ff441e3d1303f9507c0ca2bf599d2fe8f5798d8 (patch)
tree0665440b83666a2b57cba8ea4d26fe57a3bce079
parentc311109b15c26e1981c855bfa5c87aef02d27560 (diff)
parentfd1251387c2f28a1cf8105056e05affb9dfb4806 (diff)
Merge branch 'jc-update-gitaly-toml-with' into 'master'
Add new examples for concurrency and rate limiters See merge request gitlab-org/gitaly!4472
-rw-r--r--config.toml.example7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index 81df9f246..ae1b54e1a 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -117,6 +117,13 @@ self_signed_cert = false
# [[concurrency]]
# rpc = "/gitaly.RepositoryService/GarbageCollect"
# max_per_repo = 1
+# max_queue_wait = "1m"
+# max_queue_size = 10
+
+# [[rate_limiting]]
+# rpc = "/gitaly.SmartHTTPService/PostUploadPackWithSidechannel"
+# interval = "1m"
+# burst = 5
# Daily maintenance designates time slots to run daily to optimize and maintain
# enabled storages.