From fd5e7ade7aa871271bd18c8ed7c986d13761c714 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Wed, 6 Mar 2024 12:35:03 +0100 Subject: [PATCH] Fix: Benchmark command did not initialize or check settings This could result in invalid settings being used by the software. --- src/aleph/vm/orchestrator/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/aleph/vm/orchestrator/cli.py b/src/aleph/vm/orchestrator/cli.py index fdd20b3e5..2a7cf783c 100644 --- a/src/aleph/vm/orchestrator/cli.py +++ b/src/aleph/vm/orchestrator/cli.py @@ -201,6 +201,10 @@ async def fake_read() -> bytes: settings.WATCH_FOR_MESSAGES = False settings.WATCH_FOR_UPDATES = False + # Finish setting up the settings + settings.setup() + settings.check() + # First test all methods settings.REUSE_TIMEOUT = 0.1 for path in (