From 04fbc7db7a52ea8a9f2ec9afc75facbf50ba1030 Mon Sep 17 00:00:00 2001 From: ppigazzini Date: Thu, 9 Jan 2025 17:54:40 +0100 Subject: [PATCH] Fixup --- worker/games.py | 4 ++-- worker/sri.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/worker/games.py b/worker/games.py index d28a414fd..c5db26ae1 100644 --- a/worker/games.py +++ b/worker/games.py @@ -438,7 +438,7 @@ def verify_signature(engine, signature, worker_concurrency, games_concurrency, t # Run the benches with threads = 1 to get the signature with ProcessPoolExecutor(max_workers=worker_concurrency) as executor: try: - results = list(executor.map(run_bench, [engine, 1] * worker_concurrency)) + results = list(executor.map(run_bench, [(engine, 1)] * worker_concurrency)) except Exception as e: raise WorkerException("Failed to run engine bench: {}".format(str(e)), e=e) @@ -466,7 +466,7 @@ def verify_signature(engine, signature, worker_concurrency, games_concurrency, t with ProcessPoolExecutor(max_workers=worker_concurrency) as executor: try: results = list( - executor.map(run_bench, [engine, threads] * games_concurrency) + executor.map(run_bench, [(engine, threads)] * games_concurrency) ) except Exception as e: raise WorkerException( diff --git a/worker/sri.txt b/worker/sri.txt index 3b3fa5ff8..9d4247585 100644 --- a/worker/sri.txt +++ b/worker/sri.txt @@ -1 +1 @@ -{"__version": 247, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "fnKb7BjtNafSyeNEDD4R8km3YFzO0SvQHVdn252B3lDsV2wxLr3mG6SxqCVw8Sqg", "games.py": "ZB5pIpT2K0EZJHtQY5cp2Cop+uvx6FmqOjxsEAekdcD1gDk8xbxDfFSfUt+KILcu"} +{"__version": 247, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "fnKb7BjtNafSyeNEDD4R8km3YFzO0SvQHVdn252B3lDsV2wxLr3mG6SxqCVw8Sqg", "games.py": "/S+Hh6wLo+YnUvgqVPxXfvzmutbUM6AeUjvg3TYUOn0xYNxJ5ip4wrq9I4Vt942V"}