Add configurable thread pool size for MySQL connections and update schematics loading logic

This commit is contained in:
2026-05-12 10:01:35 +02:00
parent b2f6e23fc1
commit 34c3b88ca6
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ fn main() {
if let Some(x) = matches.get_many::<String>("sql-filter-name") {
filter = filter.name(x.collect());
}
for schem in block_on(load_all_schematics(filter)) {
for schem in block_on(load_all_schematics(filter, *matches.get_one::<usize>("threads").expect("Could not get Threads") as u32)) {
schematics.push(SchematicSupplierType::SQL(SqlSchematicSupplier {
node: schem
}))