Skip to content

Commit

Permalink
Rebase, format, raise version
Browse files Browse the repository at this point in the history
  • Loading branch information
ppigazzini committed Jan 6, 2025
1 parent 108f1ab commit 3520a59
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion server/fishtest/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
according to the route/URL mapping defined in `__init__.py`.
"""

WORKER_VERSION = 244
WORKER_VERSION = 245


@exception_view_config(HTTPException)
Expand Down
8 changes: 5 additions & 3 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ def establish_validated_net(remote, testing_dir, net, global_cache):
)
)
time.sleep(waitTime)



def run_single_bench(engine, queue):
bench_sig = None
bench_nps = None
Expand Down Expand Up @@ -416,7 +417,8 @@ def verify_signature(engine, signature, active_cores):
multiprocessing.Process(
target=run_single_bench,
args=(engine, queue),
) for _ in range(active_cores)
)
for _ in range(active_cores)
]

for p in processes:
Expand All @@ -439,7 +441,7 @@ def verify_signature(engine, signature, active_cores):
sig,
)
raise RunException(message)

bench_nps += nps

bench_nps /= active_cores
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 244, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "wLku9t2pbaOQVCVJ9bwOzurhWVliodFxdKgseqRetHW4xRn0Vdz6Htkp/lW18e9O", "games.py": "XgtjKOh/Ejfk4ke34NTnXaNTJQAi+cAg1aOcP2hVU6U1p8p/EACncSaWPR1ikI/d"}
{"__version": 245, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "QMc/EOTFcenMLHfXea/+UiZZHqig4QrGXkizpzdRguKkZmU1RpqQt7IQkSrX/aLz", "games.py": "nxy5WH/6aJqf/Nf+Pp6qHIoyNuj/8xtYIaX0KgM1cNM9SYFcJZrc0L/4LKtl5TLN"}
2 changes: 1 addition & 1 deletion worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
MIN_CLANG_MAJOR = 8
MIN_CLANG_MINOR = 0

WORKER_VERSION = 244
WORKER_VERSION = 245
FILE_LIST = ["updater.py", "worker.py", "games.py"]
HTTP_TIMEOUT = 30.0
INITIAL_RETRY_TIME = 15.0
Expand Down

0 comments on commit 3520a59

Please sign in to comment.