]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Rename setting and adapt docs text, as suggested by @ragogne 13289/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Sep 2023 08:52:10 +0000 (10:52 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Sep 2023 08:52:10 +0000 (10:52 +0200)
pdns/recursordist/rec-main.cc
pdns/recursordist/settings/table.py

index 43d125f236b01ec41aff0462f6e2e6c004701fb6..fcf617d70dff09aede901c6f04a34517c02530d9 100644 (file)
@@ -1641,7 +1641,7 @@ static int initSyncRes(Logr::log_t log)
 
   SyncRes::s_serverdownmaxfails = ::arg().asNum("server-down-max-fails");
   SyncRes::s_serverdownthrottletime = ::arg().asNum("server-down-throttle-time");
-  SyncRes::s_unthrottle_n = ::arg().asNum("server-down-use-probability");
+  SyncRes::s_unthrottle_n = ::arg().asNum("bypass-server-throttling-probability");
   SyncRes::s_nonresolvingnsmaxfails = ::arg().asNum("non-resolving-ns-max-fails");
   SyncRes::s_nonresolvingnsthrottletime = ::arg().asNum("non-resolving-ns-throttle-time");
   SyncRes::s_serverID = ::arg()["server-id"];
index ab7e1ceb8e961ef7197c061e8e86684b3e7f85cd..e833fb6564065d3b3ea2472b20f5e98d9fd78e01 100644 (file)
@@ -2155,15 +2155,15 @@ Throttle a server that has failed to respond :ref:`setting-server-down-max-fails
  ''',
     },
     {
-        'name' : 'server_down_use_probability',
+        'name' : 'bypass_server_throttling_probability',
         'section' : 'recursor',
         'type' : LType.Uint64,
         'default' : '25',
         'help' : 'Determines the probability of a server marked down to be used anyway',
         'doc' : '''
 This setting determines the probability of a server marked down to be used anyway.
-A value of ``n`` means that the chance of a server marked down being used after it wins speed selection is is ``1/n``.
-If this setting is zero this mechanism is not active.
+A value of ``n`` means that the chance of a server marked down still being used after it wins speed selection is is ``1/n``.
+If this setting is zero throttled servers will never be selected to be used anyway.
         ''',
         'versionadded': '5.0.0'
     },