Kick to v29; Force timeout on fleet workers
This commit is contained in:
1 parent
72c20ca8d8
commit
0a135674e2
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user