commit 5e7d9ee089e4e07cbc1764a9c034f667b3e47a95 Author: hiro hiro@torproject.org Date: Thu Nov 21 17:32:30 2019 +0100
Modify log directory for gitaly --- roles/gitaly/templates/gitaly.toml.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/roles/gitaly/templates/gitaly.toml.j2 b/roles/gitaly/templates/gitaly.toml.j2 index a392b19..d9e7046 100644 --- a/roles/gitaly/templates/gitaly.toml.j2 +++ b/roles/gitaly/templates/gitaly.toml.j2 @@ -33,6 +33,7 @@ path = "{{ ansible_user_dir }}/repositories" # # Additionally exceptions can be reported to Sentry # sentry_dsn = "https://<key>:<secret>@sentry.io/<project>" level = "warn" +dir = "{{ ansible_user_dir }}/log/gitaly/"
# # You can optionally configure Gitaly to record histogram latencies on GRPC method calls # [prometheus] @@ -44,10 +45,10 @@ dir = "{{ ansible_user_dir }}/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"
tor-commits@lists.torproject.org