From: Francis Dupont Date: Mon, 3 Aug 2020 14:19:21 +0000 (+0200) Subject: [#285] Moved to 64 X-Git-Tag: Kea-1.8.0~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6032d696032d72a643e2267b5ce443b0498b1cb1;p=thirdparty%2Fkea.git [#285] Moved to 64 --- diff --git a/doc/sphinx/arm/congestion-handling.rst b/doc/sphinx/arm/congestion-handling.rst index f8efcd1803..fb3b553e46 100644 --- a/doc/sphinx/arm/congestion-handling.rst +++ b/doc/sphinx/arm/congestion-handling.rst @@ -101,7 +101,7 @@ where: - ``capacity`` = n [packets] - this is the maximum number of packets the queue can hold before packets are discarded. The optimal value for - this is extremely site-dependent. The default value is 500 for both + this is extremely site-dependent. The default value is 64 for both kea-ring4 and kea-ring6. The following example enables the default packet queue for kea-dhcp4, diff --git a/src/lib/dhcpsrv/parsers/simple_parser4.cc b/src/lib/dhcpsrv/parsers/simple_parser4.cc index 9a3efa6c55..7b595e177b 100644 --- a/src/lib/dhcpsrv/parsers/simple_parser4.cc +++ b/src/lib/dhcpsrv/parsers/simple_parser4.cc @@ -347,7 +347,7 @@ const SimpleDefaults SimpleParser4::IFACE4_DEFAULTS = { const SimpleDefaults SimpleParser4::DHCP_QUEUE_CONTROL4_DEFAULTS = { { "enable-queue", Element::boolean, "false"}, { "queue-type", Element::string, "kea-ring4"}, - { "capacity", Element::integer, "500"} + { "capacity", Element::integer, "64"} }; /// @brief This table defines default values for multi-threading in DHCPv4. diff --git a/src/lib/dhcpsrv/parsers/simple_parser6.cc b/src/lib/dhcpsrv/parsers/simple_parser6.cc index d9be96128f..121d0af40f 100644 --- a/src/lib/dhcpsrv/parsers/simple_parser6.cc +++ b/src/lib/dhcpsrv/parsers/simple_parser6.cc @@ -359,7 +359,7 @@ const SimpleDefaults SimpleParser6::IFACE6_DEFAULTS = { const SimpleDefaults SimpleParser6::DHCP_QUEUE_CONTROL6_DEFAULTS = { { "enable-queue", Element::boolean, "false"}, { "queue-type", Element::string, "kea-ring6"}, - { "capacity", Element::integer, "500"} + { "capacity", Element::integer, "64"} }; /// @brief This table defines default values for multi-threading in DHCPv6.