From d4917c6c352591d7bf6ac7fb0e10f5d902e12c24 Mon Sep 17 00:00:00 2001 From: andrew Date: Sat, 18 Nov 2023 09:25:44 -0500 Subject: [PATCH] Kick to v21... --- Client/worker.py | 8 ++++++-- Config/config.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Client/worker.py b/Client/worker.py index 8f096b4..dead478 100644 --- a/Client/worker.py +++ b/Client/worker.py @@ -50,7 +50,7 @@ from client import try_forever ## Basic configuration of the Client. These timeouts can be changed at will -CLIENT_VERSION = 20 # Client version to send to the Server +CLIENT_VERSION = 21 # Client version to send to the Server TIMEOUT_HTTP = 30 # Timeout in seconds for HTTP requests TIMEOUT_ERROR = 10 # Timeout in seconds when any errors are thrown TIMEOUT_WORKLOAD = 30 # Timeout in seconds between workload requests @@ -1347,7 +1347,11 @@ def run_openbench_worker(args): try_forever(server_configure_worker, [config], setup_error) if IS_LINUX: - os.system('chmod 777 cutechess-ob') + + status = os.system('sudo -n chmod 777 cutechess-ob') + + if status != 0: + os.system('chmod 777 cutechess-ob') while True: try: diff --git a/Config/config.json b/Config/config.json index 6ce2230..1d4149a 100644 --- a/Config/config.json +++ b/Config/config.json @@ -1,5 +1,5 @@ { - "client_version" : 20, + "client_version" : 21, "client_repo_url" : "https://github.com/AndyGrant/OpenBench", "client_repo_ref" : "master",