Skip to content

Commit 78f2379

Browse files
committed
Change: Set affected-products-query-size to 20000
The default value for the --affected-products-query-size option is increased to 20000. Tests have shown this to increase the speed of the affected products update while still keeping the memory/disk usage limited.
1 parent 123eac7 commit 78f2379

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

doc/gvmd.8

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It manages the storage of any vulnerability management configurations and of the
1414
Show help options.
1515
.TP
1616
\fB--affected-products-query-size=\fINUMBER\fB\f1
17-
Sets the number of CVEs to process per query when updating the affected products. Defaults to 1000.
17+
Sets the number of CVEs to process per query when updating the affected products. Defaults to 20000.
1818
.TP
1919
\fB--auth-timeout=\fITIMEOUT\fB\f1
2020
Sets the authentication timeout time for the cached authentication. Defaults to 15 minutes.

doc/gvmd.8.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
5757
<optdesc>
5858
<p>
5959
Sets the number of CVEs to process per query when updating
60-
the affected products. Defaults to 1000.
60+
the affected products. Defaults to 20000.
6161
</p>
6262
</optdesc>
6363
</option>

doc/gvmd.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h2>Options</h2>
4040
<p><b>--affected-products-query-size=<em>NUMBER</em></b></p>
4141

4242
<p>Sets the number of CVEs to process per query when updating
43-
the affected products. Defaults to 1000.</p>
43+
the affected products. Defaults to 20000.</p>
4444

4545

4646

src/manage_sql_secinfo.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
/**
169169
* @brief Default for affected_products_query_size.
170170
*/
171-
#define AFFECTED_PRODUCTS_QUERY_SIZE_DEFAULT 1000
171+
#define AFFECTED_PRODUCTS_QUERY_SIZE_DEFAULT 20000
172172

173173
/**
174174
* @brief Default for secinfo_copy.

0 commit comments

Comments
 (0)