From: Andrei Pavel Date: Tue, 28 Mar 2023 16:37:55 +0000 (+0300) Subject: [#2749] enable MT by default in HA X-Git-Tag: Kea-2.3.7~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d54336f56544e9c000fc59e42e85b2fc638fe5e6;p=thirdparty%2Fkea.git [#2749] enable MT by default in HA --- diff --git a/src/hooks/dhcp/high_availability/ha_config_parser.cc b/src/hooks/dhcp/high_availability/ha_config_parser.cc index bc1b90f870..b2542b050e 100644 --- a/src/hooks/dhcp/high_availability/ha_config_parser.cc +++ b/src/hooks/dhcp/high_availability/ha_config_parser.cc @@ -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 diff --git a/src/lib/config/cmd_http_listener.cc b/src/lib/config/cmd_http_listener.cc index 5fb88046c3..c06e4c10f9 100644 --- a/src/lib/config/cmd_http_listener.cc +++ b/src/lib/config/cmd_http_listener.cc @@ -161,5 +161,5 @@ CmdHttpListener::isPaused() { return (false); } -} // namespace isc::config -} // namespace isc +} // namespace config +} // namespace isc