]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2601] restore unnecessary changes in all-keys-netconf.json
authorAndrei Pavel <andrei@isc.org>
Tue, 22 Nov 2022 15:27:37 +0000 (17:27 +0200)
committerRazvan Becheriu <razvan@isc.org>
Fri, 25 Nov 2022 16:15:34 +0000 (18:15 +0200)
doc/examples/kea4/all-keys-netconf.json
doc/examples/kea6/all-keys-netconf.json

index cae52551691edd1496278ee85116b08ca07078c0..732e05728160f7da6cd40f4c5d1cc979add8aa05 100644 (file)
                 "type": "postgresql",
 
                 // User name to be used to access the database.
-                "user": "keatest"
+                "user": "keatest",
+
+                // Connection reconnect wait time.
+                // This parameter governs how long Kea waits before attempting
+                // to reconnect. Expressed in milliseconds. The default is 0
+                // (disabled) for MySQL and PostgreSQL.
+                "reconnect-wait-time": 3000,
+
+                // Connection maximum reconnect tries.
+                "max-reconnect-tries": 3,
+
+                // Action to take when connection recovery fails.
+                // Supported values: stop-retry-exit, serve-retry-exit,
+                // serve-retry-continue
+                "on-fail": "stop-retry-exit",
+
+                // Connection connect timeout.
+                "connect-timeout": 100
             }
         ],
 
index fe6e54a46f9eb2db76454e676c206dd9ecca23d8..51ebf5d795f2c9fcf80bbe7662aad2cb1313f9c1 100644 (file)
                 "type": "postgresql",
 
                 // User name to be used to access the database.
-                "user": "keatest"
+                "user": "keatest",
+
+                // Connection reconnect wait time.
+                // This parameter governs how long Kea waits before attempting
+                // to reconnect. Expressed in milliseconds. The default is 0
+                // (disabled) for MySQL and PostgreSQL.
+                "reconnect-wait-time": 3000,
+
+                // Connection maximum reconnect tries.
+                "max-reconnect-tries": 3,
+
+                // Action to take when connection recovery fails.
+                // Supported values: stop-retry-exit, serve-retry-exit,
+                // serve-retry-continue
+                "on-fail": "stop-retry-exit",
+
+                // Connection connect timeout.
+                "connect-timeout": 100
             }
         ],