<commit_before>{{ $services := .Services -}}
{{ $domain := .Domain -}}
{{ $ports := .Ports -}}
global
	log __SYSLOG__   local0 notice
	maxconn __HAPROXY_MAXCONN__
	daemon
{{- if gt __HAPROXY_NBPROC__ 1 }}
	nbproc __HAPROXY_NBPROC__
{{- range $, $i := IntRange __HAPROXY_NBPROC__ 1 1 }}
	cpu-map {{ $i }} {{ $i }}
	stats socket /var/lib/haproxy/socket{{ $i }} process {{ $i }} mode 600 level admin
{{- end }}
{{- else }}
	stats socket /var/lib/haproxy/socket mode 600 level admin
{{- end }}


defaults
	log        global
	mode       http<commit_msg>Removed execution mode from haproxy template, as it is redundant with haproxy flags<commit_after>{{ $services := .Services -}}
{{ $domain := .Domain -}}
{{ $ports := .Ports -}}
global
	log __SYSLOG__   local0 notice
	maxconn __HAPROXY_MAXCONN__
{{- if gt __HAPROXY_NBPROC__ 1 }}
	nbproc __HAPROXY_NBPROC__
{{- range $, $i := IntRange __HAPROXY_NBPROC__ 1 1 }}
	cpu-map {{ $i }} {{ $i }}
	stats socket /var/lib/haproxy/socket{{ $i }} process {{ $i }} mode 600 level admin
{{- end }}
{{- else }}
	stats socket /var/lib/haproxy/socket mode 600 level admin
{{- end }}


defaults
	log        global
	mode       http
{'fraction_non_alphanumeric': 0.15457685664939552, 'fraction_numerical': 0.017271157167530225, 'mean_word_length': 3.3735849056603775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1683392', 'n_tokens_mistral': 457, 'n_tokens_neox': 422, 'n_words': 120}