diff options
author | John Cai <jcai@gitlab.com> | 2022-04-08 04:54:42 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2022-04-08 04:54:42 +0300 |
commit | fd1251387c2f28a1cf8105056e05affb9dfb4806 (patch) | |
tree | e82853793f4f5da6d9a14df640ab66f6c85bd888 | |
parent | 7f7b3c14e36f799090baf48857dcd5ba019bbbc6 (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.example | 7 |
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. |