mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
Use 100 as the default priority; 0 or less means node will never be promoted
This commit is contained in:
3
repmgr.h
3
repmgr.h
@@ -44,7 +44,7 @@
|
||||
#define DEFAULT_MASTER_PORT "5432"
|
||||
#define DEFAULT_DBNAME "postgres"
|
||||
#define DEFAULT_REPMGR_SCHEMA_PREFIX "repmgr_"
|
||||
|
||||
#define DEFAULT_PRIORITY 100
|
||||
#define FAILOVER_NODES_MAX_CHECK 50
|
||||
|
||||
#define MANUAL_FAILOVER 0
|
||||
@@ -52,7 +52,6 @@
|
||||
#define NO_UPSTREAM_NODE -1
|
||||
|
||||
|
||||
|
||||
typedef enum {
|
||||
UNKNOWN = 0,
|
||||
MASTER,
|
||||
|
||||
Reference in New Issue
Block a user