Limit number of threads in processing step to balance system load

This commit is contained in:
2025-11-12 17:53:34 +01:00
parent 1212c2deac
commit 3e47dcd52f
2 changed files with 67 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#include <iostream>
#include "adsb-helpers.hpp"
int N_THREADS = 16;
int N_THREADS = 4;
std::vector<std::string> scan_directory_for_json(const std::string& directory_path) {
std::vector<std::string> json_files;