Kick to v29; Force timeout on fleet workers

This commit is contained in:
andrew committed 2024-06-30 23:41:11 -04:00
1 parent 72c20ca8d8
commit 0a135674e2
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -54,7 +54,7 @@ from genfens import create_genfens_opening_book
## Basic configuration of the Client. These timeouts can be changed at will
CLIENT_VERSION = 28 # Client version to send to the Server
CLIENT_VERSION = 29 # 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
@@ -1235,7 +1235,7 @@ def run_openbench_worker(client_args):
if config.workload: complete_workload(config)
# Otherwise --fleet workers will exit when there is no work
elif config.fleet: break
elif config.fleet: time.sleep(TIMEOUT_ERROR); break
# In either case, wait before requesting again
else: time.sleep(TIMEOUT_WORKLOAD)
+1 -1
View File
@@ -1,5 +1,5 @@
{
"client_version" : 28,
"client_version" : 29,
"client_repo_url" : "https://github.com/AndyGrant/OpenBench",
"client_repo_ref" : "master",