diff --git a/server/fishtest/rundb.py b/server/fishtest/rundb.py index ff62e8f4e5..d950f9e8ec 100644 --- a/server/fishtest/rundb.py +++ b/server/fishtest/rundb.py @@ -96,7 +96,7 @@ def __init__(self, db_name="fishtest_new"): print(f"Unable to obtain the port number. Error: {self.port}", flush=True) self.task_runs = [] - self.task_duration = 1800 # 30 minutes + self.task_duration = 180 # 3 minutes self.ltc_lower_bound = 40 # Beware: this is used as a filter in an index! self.pt_info = { "pt_version": "SF_16", diff --git a/server/fishtest/views.py b/server/fishtest/views.py index 6988e24a2d..0072dd4b74 100644 --- a/server/fishtest/views.py +++ b/server/fishtest/views.py @@ -926,6 +926,7 @@ def strip_message(m): sprt_batch_size_games = 2 * max( 1, int(0.5 + 16 / get_tc_ratio(data["tc"], data["threads"])) ) + sprt_batch_size_games = 8 assert sprt_batch_size_games % 2 == 0 elo_model = request.POST["elo_model"] if elo_model not in ["BayesElo", "logistic", "normalized"]: diff --git a/server/tests/test_api.py b/server/tests/test_api.py index 72d5b84a20..b050cd210a 100644 --- a/server/tests/test_api.py +++ b/server/tests/test_api.py @@ -25,8 +25,8 @@ def new_run(self, add_tasks=0): "master", "master", num_games, - "10+0.01", - "10+0.01", + "1+0.01", + "1+0.01", "book", 10, 1,