)]}'
{"playbooks/roles/gitea-lb/templates/gitea-haproxy.cfg.j2":[{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"ffd4681b2120d9388e939ddfb346730aa6e18b62","unresolved":true,"context_lines":[{"line_number":30,"context_line":"  option httpchk GET /api/healthz"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"  {% for server in listener.servers %}"},{"line_number":33,"context_line":"  server {{ server.name }} {{ server.address }} {{ server.check_method }}"},{"line_number":34,"context_line":"  {% endfor %}"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"{% endfor %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"558f723f_d2a8ec54","line":33,"updated":"2026-04-08 15:50:24.000000000","message":"Might be worth to define a per backend maxconn here to not overload Gitea/Apache","commit_id":"67e7e26b9f142894601d25f3931fbcf90d9fede6"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"64571d29d5c5aa49e924da960283b681fb9ca1a6","unresolved":true,"context_lines":[{"line_number":30,"context_line":"  option httpchk GET /api/healthz"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"  {% for server in listener.servers %}"},{"line_number":33,"context_line":"  server {{ server.name }} {{ server.address }} {{ server.check_method }}"},{"line_number":34,"context_line":"  {% endfor %}"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"{% endfor %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"e5b8ff71_fd8d89ec","line":33,"in_reply_to":"558f723f_d2a8ec54","updated":"2026-04-08 18:41:51.000000000","message":"I missed this comment earlier. But looking at the servers they do seem to balance reasonably well and use about 2/3 of the total apache processes. Which maths out given the 12k ish max apache connections vs the 8k haproxy connections. I think this would be a good improvement but it may not be necessary right now.","commit_id":"67e7e26b9f142894601d25f3931fbcf90d9fede6"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"15516fc44773cfc548ab4e39c5821465097d62a4","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  option httpchk GET /api/healthz"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"  {% for server in listener.servers %}"},{"line_number":33,"context_line":"  server {{ server.name }} {{ server.address }} {{ server.check_method }}"},{"line_number":34,"context_line":"  {% endfor %}"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"{% endfor %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"af9d3f8c_c3909ab5","line":33,"in_reply_to":"e5b8ff71_fd8d89ec","updated":"2026-04-08 18:59:28.000000000","message":"Acknowledged","commit_id":"67e7e26b9f142894601d25f3931fbcf90d9fede6"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"64571d29d5c5aa49e924da960283b681fb9ca1a6","unresolved":true,"context_lines":[{"line_number":9,"context_line":"defaults"},{"line_number":10,"context_line":"  log-format  \"%ci:%cp [%t] %ft [%bi]:%bp %b/%s %Tw/%Tc/%Tt %B %ts %ac/%fc/%bc/%sc/%rc %sq/%bq\""},{"line_number":11,"context_line":"  log  global"},{"line_number":12,"context_line":"  maxconn  8000"},{"line_number":13,"context_line":"  option  redispatch"},{"line_number":14,"context_line":"  retries  3"},{"line_number":15,"context_line":"  stats  enable"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"89fe82ea_3854f1b4","line":12,"updated":"2026-04-08 18:41:51.000000000","message":"Can we update this value too?","commit_id":"be2cafd15f330b8bcbf1c1d46162b10f333a666a"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"18df2e7ee9023e14820d2c823864bf4bfee8ecef","unresolved":false,"context_lines":[{"line_number":9,"context_line":"defaults"},{"line_number":10,"context_line":"  log-format  \"%ci:%cp [%t] %ft [%bi]:%bp %b/%s %Tw/%Tc/%Tt %B %ts %ac/%fc/%bc/%sc/%rc %sq/%bq\""},{"line_number":11,"context_line":"  log  global"},{"line_number":12,"context_line":"  maxconn  8000"},{"line_number":13,"context_line":"  option  redispatch"},{"line_number":14,"context_line":"  retries  3"},{"line_number":15,"context_line":"  stats  enable"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"c4dafe39_9b34478e","line":12,"in_reply_to":"89fe82ea_3854f1b4","updated":"2026-04-08 18:47:17.000000000","message":"Done","commit_id":"be2cafd15f330b8bcbf1c1d46162b10f333a666a"}]}
