]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2749] enable MT by default in HA
authorAndrei Pavel <andrei@isc.org>
Tue, 28 Mar 2023 16:37:55 +0000 (19:37 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 19 Apr 2023 15:13:41 +0000 (18:13 +0300)
src/hooks/dhcp/high_availability/ha_config_parser.cc
src/lib/config/cmd_http_listener.cc

index bc1b90f8709a8b98faddd25ce6f3f5e60c3a5e1c..b2542b050efeebee094cec43d7c186faf2020236 100644 (file)
@@ -43,9 +43,9 @@ const SimpleDefaults HA_CONFIG_DEFAULTS = {
 
 /// @brief Default values for HA multi-threading configuration.
 const SimpleDefaults HA_CONFIG_MT_DEFAULTS = {
-    { "enable-multi-threading",    Element::boolean, "false" },
+    { "enable-multi-threading",    Element::boolean, "true" },
     { "http-client-threads",       Element::integer, "0" },
-    { "http-dedicated-listener",   Element::boolean, "false" },
+    { "http-dedicated-listener",   Element::boolean, "true" },
     { "http-listener-threads",     Element::integer, "0" }
 };
 
@@ -411,5 +411,5 @@ HAConfigParser::logConfigStatus(const HAConfigPtr& config_storage) const {
     }
 }
 
-} // end of namespace ha
-} // end of namespace isc
+}  // namespace ha
+}  // namespace isc
index 5fb88046c3f25a2609e20885468837a4f146814e..c06e4c10f98f7b0f5da1d43b063f47793ebf2256 100644 (file)
@@ -161,5 +161,5 @@ CmdHttpListener::isPaused() {
     return (false);
 }
 
-} // namespace isc::config
-} // namespace isc
+}  // namespace config
+}  // namespace isc