Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify message #1740

Merged
merged 2 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/fishtest/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
on how frequently the main instance flushes its run cache.
"""

WORKER_VERSION = 207
WORKER_VERSION = 208


def validate_request(request):
Expand Down
10 changes: 8 additions & 2 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,10 @@ def parse_cutechess_output(
else:
if not response["task_alive"]:
# This task is no longer necessary
print("Server told us task is no longer needed")
print(
"The server told us that no more games"
" are needed for the current task."
)
return False
update_succeeded = True
num_games_updated = num_games_finished
Expand Down Expand Up @@ -991,7 +994,10 @@ def launch_cutechess(

if not req["task_alive"]:
# This task is no longer necessary
print("Server told us task is no longer needed")
print(
"The server told us that no more games"
" are needed for the current task."
)
return False

result["spsa"] = {
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 207, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "6v8r4DGKbGAS8joczJrNjO3xX4/QImrKkU4xOpNXc5PGy4kFNgcyvxGc96FsUVww", "games.py": "LI8f72sm9yoqxO0sJPbpXTSGIgVfJhb0WuKPZ2AU2z0QCz/4IYnfYik+B/NiWG7x"}
{"__version": 208, "updater.py": "PHFUVXcoxBFiW2hTqFN5q5WdAw2pK8uzFC7hyMUC3cLY5bGZPhL8TBGThtqDmcXd", "worker.py": "BcXSylZCJ8Snrjys6r87quC030LLNqHBDSAPdEzysBTPLfaP7LRfzSfxxX48aPXa", "games.py": "I7dj8ULR4KJR9ZEWEBoPdShj+R02EER6WvPvfCqk8js1q7/Oo6RZfLcvABTBXmjs"}
2 changes: 1 addition & 1 deletion worker/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# Several packages are called "expression".
# So we make sure to use the locally installed one.

WORKER_VERSION = 207
WORKER_VERSION = 208
FILE_LIST = ["updater.py", "worker.py", "games.py"]
HTTP_TIMEOUT = 30.0
INITIAL_RETRY_TIME = 15.0
Expand Down
Loading