]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Update default value of thread-pool.validation.max to 5
authorpcarana <pc.moreno2099@gmail.com>
Tue, 15 Dec 2020 00:37:17 +0000 (18:37 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Tue, 15 Dec 2020 00:37:17 +0000 (18:37 -0600)
docs/usage.md
examples/config.json
man/fort.8
src/config.c

index 522180e5f5ee9f79a2f1f9b01c57e27b382b45c8..fc2caf389751599c50671ba25fa417fe4fde0bc4 100644 (file)
@@ -789,7 +789,7 @@ Once the client or the server terminates the session, the corresponding thread w
 
 - **Type:** Integer
 - **Availability:** `argv` and JSON
-- **Default:** 10
+- **Default:** 5
 - **Range:** 1--100
 
 Maximum number of threads that will be spawned at an internal thread pool in order to run validation cycles.
@@ -1026,9 +1026,9 @@ The configuration options are mostly the same as the ones from the `argv` interf
                        "<a href="#--thread-poolservermax">max</a>": 20
                },
                "validation": {
-                       "<a href="#--thread-poolvalidationmax">max</a>": 10
+                       "<a href="#--thread-poolvalidationmax">max</a>": 5
                }
-       }
+       },
 
        "<a href="#--asn1-decode-max-stack">asn1-decode-max-stack</a>": 4096,
        "<a href="#--stale-repository-period">stale-repository-period</a>": 43200
index 0909ea602569d8a380a1a5381c828c7357b0567b..9c6cc432c8301dd9c9b64493aca49902585311c0 100644 (file)
     "roa": "/tmp/fort/roas.csv",
     "bgpsec": "/tmp/fort/bgpsec.csv"
   },
+  "thread-pool": {
+    "server": {
+      "max": 20
+    },
+    "validation": {
+      "max": 5
+    }
+  },
   "asn1-decode-max-stack": 4096,
   "stale-repository-period": 43200
 }
index 81c1c3a51f2ce48ff80275862f71f89c896f8623..2e01b2a532ec6b8196b26b3413c538caed14f248 100644 (file)
@@ -1154,7 +1154,7 @@ the location at \fI--tal\fR has 4 TAL files, only 2 TALs will be validated
 simultaneously while the rest waits in a queue until there's an available thread
 at the pool to attend them.
 .P
-By default, it has a value of \fI10\fR. Minimum allowed value: \fI1\fR,
+By default, it has a value of \fI5\fR. Minimum allowed value: \fI1\fR,
 maximum allowed value \fI100\fR.
 .RE
 
@@ -1367,7 +1367,7 @@ to a specific value:
       "max": 20
     },
     "validation": {
-      "max": 10
+      "max": 5
     }
   },
   "asn1-decode-max-stack": 4096,
index 96b3d6a989edfadd0deeff4e767feb5d8e585651..6e315eebf441b03b37b24c46610e922f19c2ecc0 100644 (file)
@@ -1072,7 +1072,7 @@ set_default_values(void)
        /* Common scenario is to connect 1 router or a couple of them */
        rpki_config.thread_pool.server.max = 20;
        /* Usually 5 TALs, let a few more available */
-       rpki_config.thread_pool.validation.max = 10;
+       rpki_config.thread_pool.validation.max = 5;
 
        return 0;
 revert_init_locations: