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:
authorJohn Cai <jcai@gitlab.com>2022-04-08 04:54:42 +0300
committerJohn Cai <jcai@gitlab.com>2022-04-08 04:54:42 +0300
commitfd1251387c2f28a1cf8105056e05affb9dfb4806 (patch)
treee82853793f4f5da6d9a14df640ab66f6c85bd888
parent7f7b3c14e36f799090baf48857dcd5ba019bbbc6 (diff)
Add new examples for concurrency and rate limiters
The Concurrency config had two values added to it that needs to be updated in the config.toml.example. Also a new [[rate_limiting]] section got added to the config to, which needs to be added as well
-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.