[tor-commits] [dip/master] Modify gitaly configuration

hiro at torproject.org hiro at torproject.org
Mon Dec 9 18:13:27 UTC 2019


commit 8a76f298705dc841f2d77ed1e5ef15ee375e1d88
Author: hiro <hiro at torproject.org>
Date:   Mon Dec 9 19:13:22 2019 +0100

    Modify gitaly configuration
---
 roles/gitaly/templates/gitaly.toml.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/roles/gitaly/templates/gitaly.toml.j2 b/roles/gitaly/templates/gitaly.toml.j2
index a06e182..e70a0f8 100644
--- a/roles/gitaly/templates/gitaly.toml.j2
+++ b/roles/gitaly/templates/gitaly.toml.j2
@@ -1,6 +1,7 @@
 # Example Gitaly configuration file
 
 socket_path = "{{ ansible_env.XDG_RUNTIME_DIR | mandatory }}/gitaly/gitaly.socket"
+internal_socket_dir = "{{ ansible_env.XDG_RUNTIME_DIR | mandatory }}/gitaly/gitaly.socket"
 
 # The directory where Gitaly's executables are stored
 bin_dir = "{{ ansible_user_dir }}/bin"
@@ -42,6 +43,7 @@ dir = "{{ ansible_user_dir }}/log/gitaly"
 [gitaly-ruby]
 # The directory where gitaly-ruby is installed
 dir = "{{ ansible_user_dir }}/gitaly/ruby"
+num_workers = 4
 
 # # Gitaly-ruby resident set size (RSS) that triggers a memory restart (bytes)
 # max_rss = 300000000



More information about the tor-commits mailing list