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>2019-07-19 08:22:14 +0300
committerJohn Cai <jcai@gitlab.com>2019-07-19 08:22:14 +0300
commitb399a9c974df029d8e4a519d0fba1ae0b44eb8a9 (patch)
treece7682b699582627d18c4c568e295add3346f782 /config.praefect.toml.example
parenta3047689e849690c7c36b85d6092433df6732422 (diff)
Handle failover by catching SIGUSR1 signal AND other refactors
Diffstat (limited to 'config.praefect.toml.example')
-rw-r--r--config.praefect.toml.example7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.praefect.toml.example b/config.praefect.toml.example
index 59e7563f1..1393de890 100644
--- a/config.praefect.toml.example
+++ b/config.praefect.toml.example
@@ -26,11 +26,14 @@ listen_addr = "127.0.0.1:2305"
[primary_server]
name = "default"
listen_addr = "tcp://gitaly-primary.example.com"
+ token = "abcd1234"
# [[secondary_server]]
-# name = "default"
+# name = "backup-1"
# listen_addr = "tcp://gitaly-backup1.example.com"
+# token = "abcd1234"
# [[secondary_server]]
-# name = "backup"
+# name = "backup-2"
# listen_addr = "tcp://gitaly-backup2.example.com"
+# token = "abcd1234"