Skip to content

Commit

Permalink
Remove pg leader election (#669)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <[email protected]>
  • Loading branch information
ArnobKumarSaha committed Nov 25, 2024
1 parent 291e59f commit 59feb36
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions charts/kubedbcom-postgres-editor-options/templates/db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,7 @@ spec:
name: {{ .Values.spec.authSecret.name }}
{{- end }}
{{- if eq .Values.spec.mode "Replicaset" }}
replicas: 3
standbyMode: Hot
leaderElection:
electionTick: 10
heartbeatTick: 1
maximumLagBeforeFailover: 33554432
period: 100ms
replicas: {{ .Values.spec.replicas }}
{{- else }}
replicas: 1
{{- end }}
Expand Down

0 comments on commit 59feb36

Please sign in to comment.