Skip to content

Commit

Permalink
Fix: Benchmark command did not initialize or check settings
Browse files Browse the repository at this point in the history
This could result in invalid settings being used by the software.
  • Loading branch information
hoh committed Mar 6, 2024
1 parent bd1a019 commit b497e9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/aleph/vm/orchestrator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit b497e9a

Please sign in to comment.