<commit_before>global
  log 127.0.0.1   local0
  log 127.0.0.1   local1 notice
  #log loghost    local0 info
  maxconn 4096
  #debug
  #quiet
  user haproxy
  group haproxy

defaults
  log     global
  mode    http
  retries 3
  timeout client 50s
  timeout connect 5s
  timeout server 50s
  option dontlognull
  #option httplog
  option redispatch
  balance  leastconn

# Set up application listeners here.

frontend mysql
  mode tcp
  option tcplog
  maxconn 2000
  bind 0.0.0.0:3306
  default_backend mysql

backend mysql
  mode tcp
  balance leastconn
  option httpchk
  option tcplog
  {% for galera_server, galera_ip in pillar['endpoints']['galera']['servers'].iteritems() -%}
  server {{ galera_server }} {{ galera_ip  }}:3306 check port 9200 inter 12000 rise 3 fall 3
  {% endfor %}

listen admin 0.0.0.0:22002
  mode http
  stats uri /<commit_msg>Updated haproxy server and client connection timeouts<commit_after>global
  log 127.0.0.1   local0
  log 127.0.0.1   local1 notice
  #log loghost    local0 info
  maxconn 4096
  #debug
  #quiet
  user haproxy
  group haproxy

defaults
  log     global
  mode    http
  retries 3
  timeout client 61s
  timeout server 61s
  option dontlognull
  #option httplog
  option redispatch
  balance  leastconn

# Set up application listeners here.

frontend mysql
  mode tcp
  option tcplog
  maxconn 2000
  bind 0.0.0.0:3306
  default_backend mysql

backend mysql
  mode tcp
  balance leastconn
  option httpchk
  option tcplog
  {% for galera_server, galera_ip in pillar['endpoints']['galera']['servers'].iteritems() -%}
  server {{ galera_server }} {{ galera_ip  }}:3306 check port 9200 inter 12000 rise 3 fall 3
  {% endfor %}

listen admin 0.0.0.0:22002
  mode http
  stats uri /
{'fraction_non_alphanumeric': 0.06701328711727325, 'fraction_numerical': 0.06990179087232813, 'mean_word_length': 3.183574879227053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3905485', 'n_tokens_mistral': 678, 'n_tokens_neox': 596, 'n_words': 197}