tweak numbers for faster pgpool response
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 30 Aug 2017 15:46:23 +0000 (17:46 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 30 Aug 2017 15:46:23 +0000 (17:46 +0200)
pgpool.conf

index dd4fbda..a66bf59 100644 (file)
@@ -338,7 +338,7 @@ sr_check_password = ''
                                    # Password for streaming replication check user
 sr_check_database = 'postgres'
                                    # Database name for streaming replication check
-delay_threshold = 10000000
+delay_threshold = 0
                                    # Threshold before not dispatching query to standby node
                                    # Unit is in bytes
                                    # Disabled (0) by default
@@ -566,7 +566,7 @@ wd_heartbeat_port = 9694
 wd_heartbeat_keepalive = 2
                                     # Interval time of sending heartbeat signal (sec)
                                     # (change requires restart)
-wd_heartbeat_deadtime = 30
+wd_heartbeat_deadtime = 5
                                     # Deadtime interval for heartbeat signal (sec)
                                     # (change requires restart)
 heartbeat_destination0 = '__HOSTNAME__OTHER__'