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:
authorSami Hiltunen <shiltunen@gitlab.com>2020-08-06 14:56:08 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2020-08-07 12:42:43 +0300
commit4bb05403f0bbd4643aaf013c4df91a34eec89b88 (patch)
tree40a6eb75f6885a2431dde6634c91a3f818633874 /config.praefect.toml.example
parent2a5be3321727fae5fadb3d703bc5c2a7d4d74fa7 (diff)
configurable replication queue batch size
Adds a configuration option for controlling the replicator's job dequeueing batch size.
Diffstat (limited to 'config.praefect.toml.example')
-rw-r--r--config.praefect.toml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.praefect.toml.example b/config.praefect.toml.example
index 98bf07a2b..d2bac77eb 100644
--- a/config.praefect.toml.example
+++ b/config.praefect.toml.example
@@ -36,6 +36,9 @@ listen_addr = "127.0.0.1:2305"
# as shard. listen_addr should be unique for all nodes.
# Requires the protocol to be defined, e.g. tcp://host.tld:1234
+[replication]
+batch_size = 10 # configures the number of replication jobs to dequeue and lock in a batch
+
[failover]
enabled = true
election_strategy = "sql" # Options: local, sql. Defaults to 'sql'.