BUG308 : added TCP KEEP ALIVE configurations in slon.conf-sample
authorRose Nancy <rose.nancymbakam@gmail.com>
Tue, 27 Aug 2013 21:38:49 +0000 (17:38 -0400)
committerSteve Singer <ssinger@ca.afilias.info>
Wed, 28 Aug 2013 17:01:49 +0000 (13:01 -0400)
share/slon.conf-sample

index 6fe091ddafdd4c79a35ac13ecd485e993d5cf706..65124e017369aa5f193ca6c67d3d971cbab88ee9 100644 (file)
 
 # Should slon run the monitoring thread?
 # monitor_threads=true
+
+# TCP keep alive configurations
+# Enable sending of TCP keep alive between slon and the PostgreSQL backends
+# tcp_keepalive = true
+
+# The number of seconds after which a TCP keep alive is sent across an idle
+# connection. tcp_keepalive must be enabled for this to take effect. Default 
+# value of 0 means use operating system default
+# tcp_keepalive_idle = 0
+
+# The number of keep alive requests to the server that can be lost before 
+# the connection is declared dead. tcp_keepalive must be on.Default value 
+# of 0 means use operating system default
+# tcp_keepalive_count = 0
+
+# The number of seconds in between TCP keep alive requests. tcp_keepalive 
+# must be enabled. Default value of 0 means use operating system defaut
+# tcp_keepalive_interval = 0