diff --git a/assets/runtime/config/gitaly/config.toml b/assets/runtime/config/gitaly/config.toml index 46e44e37..88f84678 100644 --- a/assets/runtime/config/gitaly/config.toml +++ b/assets/runtime/config/gitaly/config.toml @@ -39,6 +39,16 @@ path = "{{GITLAB_REPOS_DIR}}" # The directory where gitaly-ruby is installed dir = "/home/git/gitaly/ruby" +# # Gitaly-ruby resident set size (RSS) that triggers a memory restart (bytes) +# max_rss = 300000000 +# +# # Grace period before a gitaly-ruby process is forcibly terminated after exceeding max_rss (seconds) +# graceful_restart_timeout = "10m" +# +# # Time that gitaly-ruby memory must remain high before a restart (seconds) +# restart_delay = "5m" + + [gitlab-shell] # The directory where gitlab-shell is installed dir = "/home/git/gitlab-shell"