File: declarations

package info (click to toggle)
pg-auto-failover 2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,368 kB
  • sloc: ansic: 58,369; python: 5,515; sql: 3,177; makefile: 629; sh: 35
file content (26 lines) | stat: -rw-r--r-- 646 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/src/monitor/node_metadata.c
+++ b/src/monitor/node_metadata.c
@@ -49,9 +49,9 @@
 
 
 /* GUC variables */
-int DrainTimeoutMs = 30 * 1000;
-int UnhealthyTimeoutMs = 20 * 1000;
-int StartupGracePeriodMs = 10 * 1000;
+static int DrainTimeoutMs = 30 * 1000;
+static int UnhealthyTimeoutMs = 20 * 1000;
+static int StartupGracePeriodMs = 10 * 1000;
 
 
 /*
--- a/src/monitor/pg_auto_failover.c
+++ b/src/monitor/pg_auto_failover.c
@@ -35,7 +35,7 @@
 #include "tcop/utility.h"
 
 
-ProcessUtility_hook_type PreviousProcessUtility_hook = NULL;
+static ProcessUtility_hook_type PreviousProcessUtility_hook = NULL;
 
 
 #if PG_VERSION_NUM >= 150000