EnterpriseDB / repmgr

A lightweight replication manager for PostgreSQL (Postgres)

Home Page:https://repmgr.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

repmgr.conf

jiwei325 opened this issue · comments

repmgr5.2 remgr.conf file, reconnect_attempts can be modify but reconnect_interval can not be modify ? i want to modify the attempt interval from 1sec to 5 sec , how can l modify ?

[2022-12-23 15:07:42] [INFO] checking state of node "node221" (ID: 221), 24 of 600 attempts
[2022-12-23 15:07:42] [WARNING] unable to ping "user=repmgr connect_timeout=2 dbname=repmgr host=10.210.2.55 fallback_application_name=repmgr"
[2022-12-23 15:07:42] [DETAIL] PQping() returned "PQPING_NO_RESPONSE"
[2022-12-23 15:07:42] [INFO] sleeping up to 1 seconds until next reconnection attempt

ok, my os is centos , test version is redhat , so change a centos version , it works well.