feat(node): more node stuff fup

This commit is contained in:
2025-05-21 16:00:20 +02:00
parent 66412ff589
commit 429ea72ccb
10 changed files with 479 additions and 127 deletions

View File

@ -9,7 +9,7 @@
{{- $hostid := sha1sum $hostname }}
dir "/tmp"
port {{ $port }}
port {{ $sentinel_port }}
sentinel monitor mymaster {{ printf "%s %s" $fqdn $port }} 2
sentinel down-after-milliseconds mymaster 60000
@ -19,8 +19,8 @@ sentinel down-after-milliseconds mymaster 60000
sentinel announce-hostnames yes
sentinel resolve-hostnames yes
sentinel announce-port {{- $sentinel_port }}
sentinel announce-ip {{- $fqdn }}
sentinel announce-port {{ $sentinel_port }}
sentinel announce-ip {{ $fqdn }}
# Generated by CONFIG REWRITE
latency-tracking-info-percentiles 50 99 99.9