From a27001938760f642f7abc3ce1fc6b4c5b848000b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 21 Apr 2023 11:01:32 +0200 Subject: [PATCH] prober: turn on parallelism for probert storage Signed-off-by: Olivier Gayot --- subiquitycore/prober.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subiquitycore/prober.py b/subiquitycore/prober.py index 5602ebb3..31e118bb 100644 --- a/subiquitycore/prober.py +++ b/subiquitycore/prober.py @@ -63,6 +63,7 @@ class Prober(): # Until probert is completely free of blocking IO, we should continue # running it in a separate thread. def run_probert(probe_types): - return asyncio.run(Storage().probe(probe_types=probe_types)) + return asyncio.run(Storage().probe(probe_types=probe_types, + parallelize=True)) return await run_in_thread(run_probert, probe_types)