Skip to content

Commit 00ba702

Browse files
committed
Add a bit of concurrency to the csaf and sbom walkers
The git-based walkers will be harder Signed-off-by: Jim Crossley <[email protected]>
1 parent fe3f71e commit 00ba702

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/importer/src/runner/csaf/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl super::ImportRunner {
103103

104104
Walker::new(source)
105105
.with_progress(WalkerProgress(progress))
106-
.walk(filter)
106+
.walk_parallel(10, filter)
107107
.await
108108
// if the walker fails, we record the outcome as part of the report, but skip any
109109
// further processing, like storing the marker

modules/importer/src/runner/sbom/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl super::ImportRunner {
107107

108108
Walker::new(http_source)
109109
.with_progress(WalkerProgress(progress))
110-
.walk(filter)
110+
.walk_parallel(10, filter)
111111
.await
112112
// if the walker fails, we record the outcome as part of the report, but skip any
113113
// further processing, like storing the marker

0 commit comments

Comments
 (0)