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 Feb 11, 2025
1 parent 79aa79a commit d90b03f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,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
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 259, "updater.py": "hr1R/uj8Vk8dTC7VsGwL8IaQurgaDvtXE3adDzv0dSoUExQYmrherGto9ozMIz8o", "worker.py": "b7qXrA8mrjgro54PajvQnCO50/CWyedOAvtvc8ZwEcF06S6tLC8AScVIaAEhm6nn", "games.py": "RfSvmPmdIEiyLj6iwYMBcxmOgq0OlqE3pcik07PQb8zPIJPMG9ED+xliBm9ameSP"}
{"__version": 259, "updater.py": "hr1R/uj8Vk8dTC7VsGwL8IaQurgaDvtXE3adDzv0dSoUExQYmrherGto9ozMIz8o", "worker.py": "b7qXrA8mrjgro54PajvQnCO50/CWyedOAvtvc8ZwEcF06S6tLC8AScVIaAEhm6nn", "games.py": "ld84DVVHyRAqFZizyZif+ZpzPrlr/pNerfvaTQsvGMXKDAJrnm69j+PtvW7LG/Yz"}

0 comments on commit d90b03f

Please sign in to comment.