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:
authorPavlo Strokov <pstrokov@gitlab.com>2020-05-23 19:08:20 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2020-05-27 09:53:16 +0300
commita3fea6d0096678d162446f307651e9f7e30fe1c1 (patch)
treeae99d7ed9048c5c2c6857384b3445b4ea04a129a /config.praefect.toml.example
parent829899bb24ac79557771e92ecf82f1e16daf3a0a (diff)
Praefect graceful stop
In order to reduce usage of global configuration Bootstrap struct changed to accept duration as parameter. That was a cause of adding a new configuration setting to praefect configuration file, because previously it used default value of 1m configured for gitaly.
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 cec16030a..8b768a93d 100644
--- a/config.praefect.toml.example
+++ b/config.praefect.toml.example
@@ -4,6 +4,9 @@ listen_addr = "127.0.0.1:2305"
# # Praefect can listen on a socket when placed on the same machine as all clients
# socket_path = "/home/git/gitlab/tmp/sockets/private/praefect.socket"
+# # Optional: grace period before a praefect process is forcibly terminated (duration)
+# # Defaults to "1m"
+# graceful_stop_timeout = "30s"
# # Optional: export metrics via Prometheus
# prometheus_listen_addr = "127.0.01:10101"
# # You can optionally configure Praefect to output JSON-formatted log messages to stdout