Skip to content

Commit

Permalink
Update slow worker formula
Browse files Browse the repository at this point in the history
  • Loading branch information
ppigazzini committed Jan 24, 2025
1 parent 9b59fc5 commit 0237c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ def create_environment():
if run_errors:
raise RunException("\n".join(run_errors))

if base_nps < 208082 / (1 + math.tanh((worker_concurrency - 1) / 8)):
if base_nps < 208082 / (1 + 3 * math.tanh((worker_concurrency - 1) / 8)):
raise FatalException(
"This machine is too slow ({} nps / thread) to run fishtest effectively - sorry!".format(
base_nps
Expand Down

0 comments on commit 0237c73

Please sign in to comment.