Forráskód Böngészése

dispatcher(k): clarification about trying transition state from active to inactive

Daniel-Constantin Mierla 14 éve
szülő
commit
0b8f2ee4c1

+ 8 - 6
modules_k/dispatcher/README

@@ -559,12 +559,14 @@ Note
 
 3.21. ds_probing_threshhold (int)
 
-   If you want to set a gateway into probing mode, you will need a
-   specific number of requests until it will change from "active" to
-   probing. The number of attempts can be set with this parameter. This
-   parameter can be modified via ser config framework.
-
-   Default value is "3".
+   If you want to set a gateway into inactive mode, there can be a
+   specific number of failed requests until it will change from "active"
+   to "inactive". It is using the state "trying", that allows selection of
+   gateway but indicates there was a failure previously with the gateway.
+   The number of attempts can be set with this parameter. This parameter
+   can be modified via ser config framework.
+
+   Default value is "1" (set inactive with first failure).
 
    Example 1.22. Set the "ds_probing_threshhold" parameter
  ...

+ 6 - 3
modules_k/dispatcher/doc/dispatcher_admin.xml

@@ -542,13 +542,16 @@ modparam("dispatcher", "force_dst", 1)
  	<section>
  		<title><varname>ds_probing_threshhold</varname> (int)</title>
  		<para>
-		If you want to set a gateway into probing mode, you will need a specific number of requests until it will change from "active" to probing.
-		The number of attempts can be set with this parameter.
+		If you want to set a gateway into inactive mode, there can be
+		a specific number of failed requests until it will change from "active"
+		to "inactive". It is using the state "trying", that allows selection
+		of gateway but indicates there was a failure previously with the
+		gateway. The number of attempts can be set with this parameter.
 		This parameter can be modified via ser config framework.
  		</para>
  		<para>
  		<emphasis>
- 			Default value is <quote>3</quote>.
+		Default value is <quote>1</quote> (set inactive with first failure).
  		</emphasis>
  		</para>
  		<example>