Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ppigazzini committed Jan 9, 2025
1 parent 2b39569 commit 04fbc7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -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"}

0 comments on commit 04fbc7d

Please sign in to comment.